Describe the bug
I have an accordion consisting of 1 panel, and on that panel, I have another accordion. Opening the outer panel goes fine, but then when I try to open the panel of the inner accordion, it does not open.
To Reproduce
Steps to reproduce the behavior:
Create and accordion within the panel of another accordion
Open the outer accordion by clicking on its header
Click on the header of the inner accordion
See error: Inner accordion does not open
Expected behavior
Accordions within other accordions respond properly (independently of their outer accordion).
Desktop (please complete the following information):
OS: Windows
Browser Chrome
Version 99.0.4844.84
Additional context
Cause could be that accordions use getContext/setContext for the "open" flag. Because contexts are accessible for all child nodes, the inner accordion uses the same "open" flag as the outer accordion. This is suspicious.
Describe the bug I have an accordion consisting of 1 panel, and on that panel, I have another accordion. Opening the outer panel goes fine, but then when I try to open the panel of the inner accordion, it does not open.
To Reproduce Steps to reproduce the behavior:
Expected behavior Accordions within other accordions respond properly (independently of their outer accordion).
Desktop (please complete the following information):
Additional context Cause could be that accordions use getContext/setContext for the "open" flag. Because contexts are accessible for all child nodes, the inner accordion uses the same "open" flag as the outer accordion. This is suspicious.