[ https://issues.apache.org/jira/browse/FLEX-33585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691350#comment-13691350
]
Thom Wu commented on FLEX-33585:
--------------------------------
It works, Thank you
Thom
From: Justin Mclean (JIRA)
Date: 2013-06-20 20:42
To: moushuai00
Subject: [jira] [Commented] (FLEX-33585) the dropDown of the spark combobox does not close
regular when use alert to show the information of the selelcted item
[ https://issues.apache.org/jira/browse/FLEX-33585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689193#comment-13689193
]
Justin Mclean commented on FLEX-33585:
--------------------------------------
There is a work around to the issue that might help pin point what the exact issue is:
protected function myCombobox_changingHandler(event:IndexChangeEvent):void {
callLater(alertSelected);
}
protected function alertSelected():void {
Alert.show(myCombobox.selectedItem);
}
--
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
> the dropDown of the spark combobox does not close regular when use alert to show the
information 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 / win xp / OSX
> Reporter: Thom Wu
> Labels: combobox, dropdown
> Original Estimate: 504h
> Remaining Estimate: 504h
>
> 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
|