Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. compile and run test
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
minWidth="1024" minHeight="768" >
<fx:Script>
<![CDATA[
public function itemSelected1():void
]]
>
</fx:Script>
<s:layout><s:VerticalLayout/></s:layout>
<mx:VBox paddingLeft="40">
<s:Label id="info" text="add"/>
<s:TabBar id="tb2" arrowKeysWrapFocus="true" click="itemSelected1()">
<s:dataProvider>
<s:ArrayCollection id="ac11" source="['one','two','three']" />
</s:dataProvider>
</s:TabBar>
</mx:VBox>
</s:Application>
2. click the first tabbar button(by default, the first one is selected)
3.
Actual Results:
after click the selected tabbarButton, the selection is gone,
tb2.selectedIndex=0, it is conflicted as the selection is gone
Expected Results:
selection should still be on the button.
Workaround (if any):