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

[Bug]: Keyboard navigation broken in tree view story #11273

Closed
2 tasks done
emyarod opened this issue Apr 22, 2022 · 0 comments · Fixed by #11274
Closed
2 tasks done

[Bug]: Keyboard navigation broken in tree view story #11273

emyarod opened this issue Apr 22, 2022 · 0 comments · Fixed by #11274
Assignees

Comments

@emyarod
Copy link
Member

emyarod commented Apr 22, 2022

Package

@carbon/react

Browser

Chrome, Safari, Firefox, Edge

Package version

v1.1.0

React version

v17.0.2

Description

related #10751 #9105

Arrow keys no longer expand and collapse parent nodes as expected since storybook actions were removed from the next story

image

The component story also now takes up the full width of the container and does not properly display the custom story styles in https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/components/TreeView/next/story.scss

CodeSandbox example

https://react.carbondesignsystem.com/?path=/story/experimental-unstable-treeview--default

Steps to reproduce

try to expand and collapse a parent node with the arrow keys and check the console for errors

Code of Conduct

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

Successfully merging a pull request may close this issue.

1 participant