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

Unable to maintain TextInput focus when using PopUpManager.centerPopUp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Focus Manager
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1.Create a TitleWindow with a TextInput.
      2.Set focus to that TextInput on creation complete event.
      3.Set title property of TitleWindow on creation complete event.
      4.Pop up the TitleWindow with PopUpManager.addPopUp()
      5.Center pop up with PopUpManager.centerPopUp()

      Actual Results:
      The TextInput field is unable to maintain focus. It clearly had focus, but something takes away the focus.

      Expected Results:
      The TextInput field should maintain focus.

      Workaround (if any):
      I have tried adding in callLater, but that only works part of the time. The example works correctly with SDK 3.5, but not 4.0 or 4.1

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: