You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Thom Wu (JIRA)" <ji...@apache.org> on 2013/06/07 16:54:20 UTC
[jira] [Created] (FLEX-33585) the dropDown of the spark combobox
does not close regular when use alert to show the infomation of the
selelcted item
Thom Wu created FLEX-33585:
------------------------------
Summary: the dropDown of the spark combobox does not close regular when use alert to show the infomation of the selelcted item
Key: FLEX-33585
URL: https://issues.apache.org/jira/browse/FLEX-33585
Project: Apache Flex
Issue Type: Bug
Components: Spark: ComboBox
Affects Versions: Adobe Flex SDK 4.6 (Release)
Environment: win7 and win xp
Reporter: Thom Wu
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira