-
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): select tab do not vertical scroll into view #6974
Conversation
change experimental argument to non experimental argument type
Deploy preview for carbon-elements ready! Built with commit b2afa43 |
Deploy preview for carbon-elements ready! Built with commit d1ed5c8 |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit b2afa43 https://deploy-preview-6974--carbon-components-react.netlify.app |
Deploy preview for carbon-components-react ready! Built without sensitive environment variables with commit d1ed5c8 https://deploy-preview-6974--carbon-components-react.netlify.app |
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.
looks good to me, thanks for the fix
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.
🎉 Thanks for the quick fix 👍 ✅
…-system#6974) * fix(Tabs): select tab do not vertical scroll into view * fix(Tabs): change argument type for scrollIntoView api change experimental argument to non experimental argument type Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
Closes #6973
Prevent vertical scrolling when selecting tabs
Changelog
No longer vertically scrolls on new tab selection.
Use regular (bool) argument for the scrollIntoView api instead of the experimental (object) type argument, ref: https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView
Testing / Reviewing