After we upgraded from 4.0.2a to 4.1.1, we noticed that "ownerCt" and "floatParent" are both undefined for a Menu under a Button. One of them used to be set to the owner button before the upgrade.

With some debugging, we found the "ownerButton" property of the menu is set to the owner Button, however, this ownerButton is not documented anywhere.

Is it a bug that ownerCt and floatParent not getting set for Button Menu? Otherwise, is there a supported way to access the owner Button from a Menu?
  • Tested Browser: Chrome (Windows)