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

React Sidenav Rail - Broken Interactions In Storybook #4413

Closed
2 tasks done
hshockley opened this issue Oct 22, 2019 · 1 comment · Fixed by #5274
Closed
2 tasks done

React Sidenav Rail - Broken Interactions In Storybook #4413

hshockley opened this issue Oct 22, 2019 · 1 comment · Fixed by #5274
Labels

Comments

@hshockley
Copy link
Contributor

hshockley commented Oct 22, 2019

What package(s) are you using?

  • carbon-components
  • carbon-components-react

Detailed description

Describe in detail the issue you're having.

Almost any interaction with the sidenav menu's results in peculiar behavior. Expanding all of the menus and then clicking any of the items then collapses all of the menus. Clicking one submenu has also resulted in another sidenav menu expanding or all of them being expanded again.

Is this issue related to a specific component?

Sidenav Rail

What browser are you working in?

Chrome Version 77.0.3865.120

What version of the Carbon Design System are you using?

v10.7.1

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

Rocket Software

Steps to reproduce the issue

  1. Open the storybook and navigate to either of the rail stories of the ui shell
  2. Click to expand all of the sidenav menus
  3. Click on any of the items of the sidenav menus
@hshockley
Copy link
Contributor Author

This issue seems to be related to the focus event listeners that are added on by default. Disabling them seems to solve the issue but introduces accessibility issues as tabbing through the sidenav does not expand it.
https://q0dy1.csb.app/

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

Successfully merging a pull request may close this issue.

3 participants