Describe the bug
When an accordion item is expanded and the item's details is clicked, the accordion item closes.
To Reproduce
Steps to reproduce the behavior:
Open an accordion section
Click on the accordion details (not the accordion title)
The accorion section will close
Expected behavior
The accordion item should only close when the accordion title is clicked.
Desktop (please complete the following information):
OS: iOS
Browser: chrome
Version 125.0.6422.61
Additional context
The Accordion has an onClick function that is passed down to each accordion item including the AccordionDetails, so when you click on any part of an accordion item, it closes the item.
Describe the bug When an accordion item is expanded and the item's details is clicked, the accordion item closes.
To Reproduce Steps to reproduce the behavior:
Expected behavior The accordion item should only close when the accordion title is clicked.
Desktop (please complete the following information):
Additional context The Accordion has an onClick function that is passed down to each accordion item including the AccordionDetails, so when you click on any part of an accordion item, it closes the item.
Please follow these steps to create your branch: