I'm experimenting with creating a collapsible accordion feature, but I'm facing a challenge in figuring out how to close the currently open accordion pane. The accordion functions smoothly when expanding sections, but I'm stuck on how to collapse them.
Any helpful suggestions on how I can achieve this functionality?
Please note: The accordion is specifically designed to be visible only on mobile devices.