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

TabView activeIndex ignored #342

Closed
abuSayedMohammad opened this issue Mar 13, 2018 · 0 comments
Closed

TabView activeIndex ignored #342

abuSayedMohammad opened this issue Mar 13, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@abuSayedMohammad
Copy link

Refreshing page redirect to the first tab. Please look into the plunker: https://plnkr.co/edit/FNRUZp6yvDUSvVofqyIX?p=preview

Possible Solution: In the component TabView.js, please update the constructor as below:
this.state = { activeIndex: props.activeIndex || 0 };

@cagataycivici cagataycivici changed the title TabView redirect to first tab when refresh the page TabView activeIndex fails Mar 14, 2018
@cagataycivici cagataycivici self-assigned this Mar 14, 2018
@cagataycivici cagataycivici added the Type: Bug Issue contains a defect related to a specific component. label Mar 14, 2018
@cagataycivici cagataycivici added this to the 1.5.0 milestone Mar 14, 2018
@cagataycivici cagataycivici changed the title TabView activeIndex fails TabView activeIndex ignored Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants