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

the dropDown of the spark combobox does not close regular when use alert to show the information of the selelcted item

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.6 (Release)
    • None
    • Spark: ComboBox
    • win7 / win xp / OSX

    Description

      the sample code:
      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Script>
      <![CDATA[
      import mx.controls.Alert;
      import spark.events.IndexChangeEvent;

      protected function myCombobox_changingHandler(event:IndexChangeEvent):void

      { Alert.show(myCombobox.selectedItem); }

      ]]>
      </fx:Script>

      <s:ComboBox id="myCombobox" changing="myCombobox_changingHandler(event)">
      <s:ArrayList>
      <fx:String>USA</fx:String>
      <fx:String>China</fx:String>
      <fx:String>It</fx:String>
      </s:ArrayList>
      </s:ComboBox>
      </s:WindowedApplication>
      Test steps:
      1.click the openButton to open the dropDown of the combobox
      2.select the first item the of the Drop-down list item,then alert display the selected item
      3.expect the dropDown of the combobox close,but it does not
      4.click the ok button of the alert to close the alert
      5.click the second item of the Drop-down list item´╝îthen the dropDown close??alert display the select item

      The same operation, the combobox are inconsistent performance

      Attachments

        Activity

          People

            Unassigned Unassigned
            moushuai00@hotmail.com Thom Wu
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 504h
                504h
                Remaining:
                Remaining Estimate - 504h
                504h
                Logged:
                Time Spent - Not Specified
                Not Specified