Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TabStrip tabs content state is lost when dynamically adding and removing tabs. #612

Open
simonssspirit opened this issue May 29, 2020 · 3 comments
Assignees
Labels
Bug Item which indicates that something is not working pkg:Layout SEV: Medium

Comments

@simonssspirit
Copy link
Contributor

simonssspirit commented May 29, 2020

TabStrip tabs content state is lost when dynamically adding and removing tabs.

This occurs as the tabs keys are set based on their index, but when we dynamically, the index of a tab can change.

We can use another 'unique' identifier for the keys.

More details and a runnable example can be found in ticket 1469381

@simonssspirit simonssspirit added Bug Item which indicates that something is not working pkg:Layout labels May 29, 2020
@kdikov82
Copy link
Contributor

Reported again in Ticket ID: 1553920

@kdikov82
Copy link
Contributor

Reported again

@trinhvinhtruong96
Copy link

This bad behavior still happened due to TabStripNavigationItem uses index as key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working pkg:Layout SEV: Medium
Projects
None yet
Development

No branches or pull requests

6 participants