Here is the Bootstrap Collapse code I am using:
<section class="download bg-primary text-center">
<div class="container">
<div class="row">
<div class="col-12 col-md-2">
<a href="#breaker1" class="btn btn-dark btn2" role="button"> <span>1</span> </a>
</div>
<div class="col-12 col-md-2">
<a href="#breaker2" class="btn btn-primary btn2" role="button"> <span>2</span> </a>
</div>
In the first collapse, everything is working fine.
However, in the second collapse, the "hide" card feature is not functioning correctly.
Both of them are positioned within a row.
I am unable to hide a card in the second accordion like how it works in the first collapse.
Clicking on one of the cards in the first collapse causes another collapse to hide properly, but this behavior is not replicated in the second collapse.
How can I troubleshoot and fix this issue?