Skip to content
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

[Tab]: Tabs have focus trap #5148

Closed
janhassel opened this issue Jan 23, 2020 · 2 comments
Closed

[Tab]: Tabs have focus trap #5148

janhassel opened this issue Jan 23, 2020 · 2 comments

Comments

@janhassel
Copy link
Member

Environment

Operating system
macOS 10.14.6

Browser
Chrome 79

Detailed description

What version of the Carbon Design System are you using?
[email protected]
[email protected]

What did you expect to happen?
When having the browser focus on a tab component, pressing ⇥ Tab again should lead to the next item in the tab order.

What happened instead?
Focus is trapped

Steps to reproduce the issue

  1. Open https://codesandbox.io/s/sharp-hill-zi261
  2. Click a tab to set keyboard focus there
  3. Try pressing ⇥ Tab
  4. Click on the second button
  5. Pressing ⇧ Shift ⇥ Tab focuses on first button
  6. Pressing ⇧ Shift ⇥ Tab again focuses on tab
  7. Focus is trapped again.

Please create a reduced test case in CodeSandbox
https://codesandbox.io/s/sharp-hill-zi261

@emyarod
Copy link
Member

emyarod commented Jan 23, 2020

this has been addressed in #5124 which will be in an upcoming release

related #4784 (comment)

@emyarod emyarod closed this as completed Jan 23, 2020
@janhassel
Copy link
Member Author

janhassel commented Jan 24, 2020

Awesome, thanks. I tried searching for related issues but clearly wasn't looking hard enough.

What is the status about the @nightly release channel? The last nightly build available on npm is about 2 months old. It'd be great to have this tracking master to see if an issue has already been addressed and will be released soon.
cc @joshblack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants