I do get my nested accordion, but when user expanded first accordion and click second accordion. First accordion is closed. When I changed dmc.Accordion to dmc.AccordionMultiple it worked, but this is not what I want ( all the items stay open).
if you are using dash-mantine-components, you can use this component now for the problem you are facing. dmc.AccordionMultiple. This component allows for multiple accordians to open and collapse simultaneously.
Thanks for your response.
The AccordionMultiple indeed allows me to open all the nested accordions, but I don’t want them to stay open when I click them. So for example, if I have this shell:
main accordion:
first accordion
second accordion
If I’m clicking on the first accordion, and then on the second accordion, I want the first accordion to close.
Regarding the dbc.Accordion component, unfortunately I cant use it because it doesn’t have features that I need ( ring process etc’ )