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

Spark ComboBox reverts selection when deselecting an item and then giving a different control focus

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Spark: ComboBox
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.5.0.18027

      Steps to reproduce:
      1. Compile and run attached MXML file.
      2. Select "three" from the Spark ComboBox.
      3. Open the ComboBox again and ctrl+click "three" to deselect it and reset the selectedIndex to -1.
      4. Click in the TextArea control to give it focus. (The s|ComboBox oddly reselects "three" despite it being previously deselected.)
      5. Repeat steps 2-4 using the Spark DropDownList. Note that the s|DropDownList behaves as expected and doesnt reselect the previously selected item.

      Actual Results:
      Spark DropDownList behavior is correct and preferrable.
      Spark ComboBox behavior is incorrect (in my opinion) and shouldnt reselect the previously selected value.

      Expected Results:
      ComboBox should be more DropDownList-y.

      Workaround (if any):
      n/a

      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: