My problem is when I click on the button to open the dropdown menu. The height of the modal-body is not increasing, instead the modal is hidden and I have to scroll into modal-body.
How I can make the modal-body to increases the height?
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<button id="charts" type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal">MODAL</button>
<div class="modal" id="modal" tabindex="-1" aria-hidden="true">
<div class="modal-dialog modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-body">
<div class="btn-group">
<button type="button" class="btn btn-dark dropdown-toggle tags" data-bs-toggle="dropdown" aria-expanded="false">TAGS</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Action</a></li>
<li><a class="dropdown-item" href="#">Another action</a></li>
<li><a class="dropdown-item" href="#">Something else here</a></li>
</ul>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-dark" data-bs-dismiss="modal">CLOSE</button>
</div>
</div>
</div>
</div>