I'm currently working on a code that involves accordion patterns, and I've encountered an issue where opening and closing one accordion automatically closes another. I want all accordions to remain open until the user explicitly clicks to close them. Specifically, when I close and reopen the "Buy Type" accordion, the "Specs" accordion also closes, which is not the behavior I desire. I've included the entire section below in case there is an error causing this issue. Additionally, reopening the "Design Guidelines" accordion closes the "Template Instructions," creating further complications.
<section id="specification" class="mt-5 pt-4">
<div class="container-fluid container-fluid-shorter">
<!--Accordion wrapper-->
<div class="accordion md-accordion accordion-1" id="accordionEx23" role="tablist">
<!-- Accordion content with multiple sections -->
</div>
</div>
<!--Accordion wrapper-->
</section>
It seems like there might be an issue in the way the accordion elements are interacting. Let's take a closer look at it.