|
|
|
[
Permlink
| « Hide
]
Peter deHaan (Adobe) - [05/13/08 01:15 PM ]
Not a regression. Reproduced issue in 201.3 and Flex 3.
screenshot-1: Menu position the first time you click "More" MenuBar.
screenshot-2: Menu position the second time you click MenuBar. Reproduced in Flex 3. Sending for internal review.
The workaround is only a partial solution, because with sub-menus if you hover they display on top of the original menu (which could completely hide the original menu possibly). Also, if you click on the sub-menu link it then shows the sub-menu underneath the original menu which makes it impossible to select sub-menu options.
I saw the patch on the duplicate issue of this was rejected? Any ideas when a patch that won't be rejected will be added? (sorry, I'm new so still learning how the bug process works). Just to clarify, is this closed because of the duplicate?
@Peter, You should add this as a Flex Cookbook post. FYI, in my Custom ActionScript Class that extends MenuBar, the Menu does not yet exist during the initialize phase, so I had to use a creationComplete listener/handler:
package { import mx.controls.Menu; import mx.controls.MenuBar; import mx.events.FlexEvent; public class CustomMenuBar extends MenuBar { public function CustomMenuBar() { super(); addEventListener(FlexEvent.CREATION_COMPLETE, creationCompleteHandler); } private function creationCompleteHandler(event:FlexEvent):void { var menu:Menu = this.getMenuAt(0); menu.show(0, 0); menu.hide(); } } } | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||