You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/06/19 17:16:20 UTC

[jira] [Comment Edited] (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=13688064#comment-13688064 ] 

Justin Mclean edited comment on FLEX-33585 at 6/19/13 3:14 PM:
---------------------------------------------------------------

Confirmed issue exists in Apache Flex 4.10 develop branch and on OSX as well. No obvious fix from a quick look.
                
      was (Author: jmclean):
    Confirmed issue exists in Apache Flex 4.10 develop branch. No obvious fix from a quick look.
                  
> 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