We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Make a controlled Tab with both activeIndex and onTabChange props. Click an item in the tab menu. Read the data.activeIndex value in onTabChange.
data.activeIndex should be the index of the tab that was clicked.
data.activeIndex is the value of the activeIndex prop passed to the Tab component.
0.71.1
https://codepen.io/anon/pen/QMLydJ
The text was updated successfully, but these errors were encountered:
Superb report, thanks much. PR up.
Sorry, something went wrong.
Superb handling, thanks for the quick fix.
No branches or pull requests
Steps
Make a controlled Tab with both activeIndex and onTabChange props.
Click an item in the tab menu.
Read the data.activeIndex value in onTabChange.
Expected Result
data.activeIndex should be the index of the tab that was clicked.
Actual Result
data.activeIndex is the value of the activeIndex prop passed to the Tab component.
Version
0.71.1
Testcase
https://codepen.io/anon/pen/QMLydJ
The text was updated successfully, but these errors were encountered: