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

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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            adobejira Adobe JIRA

            Dates

              Created:
              Updated:

              Slack

                Issue deployment