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]: Accordion Component: Not possible to collapse items of nested accordion components #14840

Closed
2 tasks done
anton-tsymuk-viacomcbs opened this issue Oct 10, 2023 · 1 comment

Comments

@anton-tsymuk-viacomcbs
Copy link
Contributor

Package

@carbon/react

Browser

Chrome

Package version

1.39.0

React version

18.2.0

Description

Actual:

  • items of a nested accordion component are expanded by default
  • items of a nested accordion component can not be collapsed

Expected:

  • items of a nested accordion component are collapsed by default
  • items of a nested accordion component can be expanded/collapsed

Reproduction/example

https://stackblitz.com/edit/github-h6yxfu

Steps to reproduce

  • expand the parent accordion item
  • try to collapse the child accordion item

Suggested Severity

None

Application/PAL

No response

Code of Conduct

@tw15egan
Copy link
Member

Hey there @anton-tsymuk-viacomcbs, Nested accordions are not a supported pattern in the design system. We recommend flattening your information architecture as much as possible.

#7328
#5666
#5765

@tw15egan tw15egan closed this as not planned Won't fix, can't repro, duplicate, stale Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants