since I updated to the Lern Management System Moodle 4.0 we have an issue with the Bootstrap Accordion. When you click on an element of the accordion, the whole area closes.
Do you have any idea how I can turn off this behavior? It seens to me that the collapse function also closes the parent section :(
We use this code:
div class="accordion" id="accordionExample"></div>
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0"><button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">Sich im Team organisieren und Projekte planen<br></button></h5>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordionExample" style="">
<div class="card-body">
<ul>
<li><span style="color: #333333;"><a href="https://moodle.itech-bs14.de/course/view.php?id=999" target="_blank">Innovation in multiprofessionellen Teams fördern mit Designthinking</a></span></li>
<li><span style="color: #333333;"><a href="https://moodle.itech-bs14.de/course/view.php?id=980" target="_blank">Scrum als Planungstool</a></span></li>
<li><span style="color: #333333;"><a href="https://moodle.itech-bs14.de/course/view.php?id=1220" target="_blank">Kreativtechniken nutzen um Ideen zu entwickeln</a></span></li>
<li><span style="color: #333333;"><a href="https://moodle.itech-bs14.de/course/view.php?id=936" target="_blank">Die Zielgruppe für ein Projekt definieren</a><br></span></li>
</ul>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0"><button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">Die Idee dokumentieren<br></button></h5>
</div>
This could be the solution, but I have no idea how to put the code into my moodle site.
Greetings from Hamburg
Stefan