apache / apache/royale-asjs

TabBar Issue

Open
#1,120 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
ActionScript
Stars
380
Forks
120
PR merge metrics
No merged PRs in 30d

Description

Example : [TabsEnabled.zip](https://github.com/apache/royale-asjs/files/6650526/TabsEnabled.zip)

In this example, there are 2 tabs in TabNavigator
If I click Disable Tab Button then both tabs are disabled
TabFile1ID.enabled = false;
TabFile2ID.enabled = false;
Body of these tabs are disabled but tab bar buttons are enabled if enabled=false then buttons shouldn't be clickable
TabBar button should also be disabled (not Clickable) when we set enabled = false for any tab

In Royale :
![TabBarEnabled](https://user-images.githubusercontent.com/42200979/121941926-510d0500-cd69-11eb-9682-f9c78979e7b0.gif)

In Flex:
![TabBarEnabledFlex](https://user-images.githubusercontent.com/42200979/121941933-55392280-cd69-11eb-88ea-e741f453f313.gif)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the behavior with the attached TabsEnabled.zip example and reading the TabBar and TabNavigator entry points. Trace how TabFile1ID.enabled and TabFile2ID.enabled affect their tab bodies and buttons; done means a disabled tab's TabBar button is not clickable while enabled tabs remain usable.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.