-
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): allow keyboard event defaults #5124
fix(Tabs): allow keyboard event defaults #5124
Conversation
8c12037
to
19e73d8
Compare
Deploy preview for the-carbon-components ready! Built with commit 8c12037 https://deploy-preview-5124--the-carbon-components.netlify.com |
Deploy preview for carbon-elements failed. Built with commit 8c12037 https://app.netlify.com/sites/carbon-elements/deploys/5e277300df4f6a000c00ed9c |
Deploy preview for carbon-components-react failed. Built with commit 8c12037 https://app.netlify.com/sites/carbon-components-react/deploys/5e27730007a91d0008e8428b |
Deploy preview for carbon-components-react failed. Built with commit fa451c8 https://app.netlify.com/sites/carbon-components-react/deploys/5e279299a1811b0008e29eb8 |
Deploy preview for carbon-elements failed. Built with commit fa451c8 https://app.netlify.com/sites/carbon-elements/deploys/5e279299462b4c0008b297d7 |
Deploy preview for the-carbon-components ready! Built with commit fa451c8 https://deploy-preview-5124--the-carbon-components.netlify.com |
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 👍 - Thanks @emyarod!
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.
👍 ✅
Ref #4784 (comment)
This PR allows default keyboard event behavior in the non-mobile Tabs component
Changelog
Removed
event.preventDefault
callTesting / Reviewing
Place a tabbable element in the tab content panel and navigate to it using the keyboard from the tabs list, or scroll on a page with overflow using the arrow keys while a tab is focused