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

AccordionItem nesting issue #5765

Closed
1 task
ilovepumpkin opened this issue Apr 1, 2020 · 1 comment
Closed
1 task

AccordionItem nesting issue #5765

ilovepumpkin opened this issue Apr 1, 2020 · 1 comment

Comments

@ilovepumpkin
Copy link

What package(s) are you using?

  • carbon-components
  • [x ] carbon-components-react

Detailed description

When using AccordionItem in nesting way, the lower level AccordionItem expando icon is not displayed correctly

I am trying to use Accordion and AccordionItem in nesting way like below.

<Accordion>
     <AccordionItem>
             <Accordion>
                        <AccordionItem/>
                         <AccordionItem/>
                         <AccordionItem/>
             </Accordion>
     </AccordionItem>
</Accordion>

The second level AccordionItem expando icon is not representing its correct expand/collapse state. Looks like its style is impacted by its uplevel AccordionItem

image
image

@asudoh
Copy link
Contributor

asudoh commented Apr 1, 2020

Hi 👋 nested accordion is not supported; Please see: #4768 and #5180.

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