Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-28814

s:TabBar doesn't disable tabs like mx:TabBar did

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK Previous
    • None
    • Spark: TabBar
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run this application:

      <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/mx">

      <s:HGroup verticalCenter="0" horizontalCenter="0">

      <s:VGroup gap="0" >
      <mx:TabBar dataProvider="

      {viewStack1}

      " width="100%"/>
      <mx:ViewStack id="viewStack1" width="250" height="100">
      <s:NavigatorContent label="Tab1" backgroundColor="blue" enabled="true" />
      <s:NavigatorContent label="Tab2" backgroundColor="green" enabled="true" />
      <s:NavigatorContent label="Tab3" backgroundColor="red" enabled="false" />
      </mx:ViewStack>
      </s:VGroup>

      <s:VGroup gap="0">
      <s:TabBar dataProvider="

      {viewStack2}

      " width="100%"/>
      <mx:ViewStack id="viewStack2" width="250" height="100">
      <s:NavigatorContent label="Tab1" backgroundColor="blue" enabled="true" />
      <s:NavigatorContent label="Tab2" backgroundColor="green" enabled="true" />
      <s:NavigatorContent label="Tab3" backgroundColor="red" enabled="false" />
      </mx:ViewStack>
      </s:VGroup>

      </s:HGroup>
      </s:Application>

      2. Try clicking on Tab3 on both of the TabBars
      3.

      Actual Results:

      The mx:TabBar has Tab3 disabled
      The s:TabBar has Tab3 enabled

      Expected Results:

      The mx:TabBar has Tab3 disabled
      The s:TabBar should have Tab3 disabled

      Workaround (if any):

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: