noticing the following issue: - spark drop down list has a event handler for change - on change event handler calls spark TextArea.setfocus (guessing any setfocus should trigger issue) - dropdownlist does not close
Sample Application: <?xml version="1.0"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark"> <s:DropDownList id="fontDDL" width="150" change="OnFontChange(event)"> <s:dataProvider> <s:ArrayList id="fontList" source="[Arial,Times New Roman,Verdana,Trebuchet MS]" /> </s:dataProvider> </s:DropDownList> <s:TextArea id="textArea" width="100%" top="20" bottom="10"/> <fx:Script><![CDATA[ import spark.events.IndexChangeEvent; protected function OnFontChange(evt:IndexChangeEvent):void { textArea.setFocus(); } ]]></fx:Script> </s:Application>