-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(Tabs): reset active index to selected index for manual activation #17831
fix(Tabs): reset active index to selected index for manual activation #17831
Conversation
✅ Deploy Preview for v11-carbon-web-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
26f0261
to
c28c40e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17831 +/- ##
==========================================
- Coverage 80.14% 80.14% -0.01%
==========================================
Files 406 406
Lines 14029 14039 +10
Branches 4391 4395 +4
==========================================
+ Hits 11243 11251 +8
- Misses 2620 2621 +1
- Partials 166 167 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
5f4f0a6
Hey there! v11.69.0 was just released that references this issue/PR. |
…carbon-design-system#17831) * refactor(Tabs): rename internal vars * fix(Tabs): reset active index to selected index for manual activation * test(Tabs): test manual activation blur handler
Closes #17591
This PR adds blur handlers to the tabs and vertical tabs components to reset the active tab index to the selected tab index.
Changelog
New
handleBlur
methodsTesting / Reviewing