Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-25200

FlexNativeMenuEvent doesn't cancel anything when preventDefault() is called

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • mx: FlexNativeMenu
    • 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):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: