Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows 7
Browser: Internet Explorer 8.x
Language Found: English
Description
Steps to reproduce:
<s:Button x="85" y="131" label="Button" width="155" height="40" click="tab1.visible=false"/>
<mx:TabNavigator x="85" y="259" width="200" height="200" id="myTab">
<s:NavigatorContent label="Tab 1" width="100%" height="100%" id="tab1">
<s:Label text="foo1"/>
</s:NavigatorContent>
<s:NavigatorContent label="Tab 2" width="100%" height="100%" id="tab2" visible="false">
<s:Label text="foo2"/>
</s:NavigatorContent>
<s:NavigatorContent label="Tab 3" width="100%" height="100%" id="tab3">
<s:Label text="foo3"/>
</s:NavigatorContent>
</mx:TabNavigator>
Actual Results:
1. All tabs are always visible even if you change visible property.
2. Content (label foo1) disappear when button clicked but it appear again when next tab is clicked and clicked back to tab1.
Expected Results:
Tabs must disappear always from tabNavigator when property visible change.
Workaround (if any):
use removeChild method