-
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
[Tabs]: Disabled tabs are still clickable and active #2880
Comments
This issue is also important for SPSS Statistics, since we have similar problem. |
Hey! I'm gonna try and tackle this one. |
Cool to see you are jumping in @abbeyhrt! One suggestion is searching for |
@abbeyhrt I was using keyboard nav, arrow keys on Tab component and it makes it active. Could you verify it? |
https://codesandbox.io/s/codesandbox-vq8b6 reopening since the content is still switching to disabled tab content when using arrow keys. You also can't navigate passed the disabled tab to a third not disabled tab. |
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
Passing the disabled prop to a tab only impacts the style, the Tabs component will still switch contents when a disabled tab is clicked
Disabled tabs should have no effect when clicked
Steps to reproduce the issue
knobs
panel of storybook enable theDisabled
knobThe text was updated successfully, but these errors were encountered: