Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
The constructor for FlexNativeMenuEvent sets cancelable to true by default. FlexNativeMenu doesn't actually do anything different if you call preventDefault().
Actual Results:
It's not actually cancelable.
Expected Results:
Something should actually be cancelable, or it should not be cancelable by default.
By the way, if the keyboard shortcut for a menu item is simply a character (like "a" or "b"), it is impossible to type that character into a s:TextInput! I assumed that calling preventDefault() on the FlexNativeMenuEvent.ITEM_CLICK event when the s:TextInput has focus would let me type that character, but nothing changed.
Workaround (if any):