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

Odd label flicker in Spark ComboBox when setting selectedIndex to -1

    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 item "Two" from the ComboBox.
      3. Open the ComboBox again and Ctrl+click item "Two" in the dropdown to deselect the item. The selectedIndex should correctly be set to -1.
      4. Click the ComboBox control's neighboring "-1" button.
      (5.) Do steps 2-4 w/ DropDownList.

      Actual Results:
      The previously selected item flickers briefly in the ComboBox control's internal text input and then disappears. This is odd since my selectedIndex is -1 and I'm explicitly setting the selectedIndex to -1, which i assumed would be a no-op.

      Expected Results:
      The previously selected item's label shouldnt flicker in on the s|ComboBox (it doesnt on the s|DropDownList).

      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: