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

setFocus and passing the focus on component button

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • Apache Flex 4.11.0, Apache Flex 4.12.0, Apache Flex 4.12.1
    • None
    • None
    • Windows 7 64bit, Flash Player 11.6.602.168, Flash Player 13.0.0.182

    Description

      While migrating to new version of Flex SDK 4.12.0 (from version 4.6) I found a bug or at least an unfortunate feature.
      When passing the focus on component button, the button's click event is dispatched.

      Required application state: If user (with actual focus in "tiTwo" text input) press the Enter key, focus is then passed on component button.
      After pushing Enter on text input, click event must not be dispatched on "button".

      More info:
      http://stackoverflow.com/questions/23753885/flex-4-12-0-setfocus

      Attachments

        1. focusTest.mxml
          2 kB
          Dominik Sotola

        Activity

          People

            Unassigned Unassigned
            FlexUser Dominik Sotola
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: