data-bs-toggle not hiding the modal after v5 update
Created by: demiavaliani
Before updating to v5, data-toggle=""
was working perfectly. It was actually toggling the visibility (showing / hiding).
After update, data-bs-toggle=""
will only show, but not hide the modal.
My HTML:
<button type="button" data-bs-toggle="modal" data-bs-target="#navigationModal"></button>
<div class="modal" id="navigationModal">
<div class="modal-dialog modal-fullscreen">
<div class="modal-content">
<div class="modal-body">
</div>
</div>
</div>
</div>
- Operating system: Windows 10 Enterprise
- Browser: Chrome Beta v88.0.4324.50 and Chrome v87.0.4280.88
- Bootstrap v5.0.0-beta1
- reduced test case -
data-bs-toggle
does not work in v5.0.0-beta1 - reduced test case -
data-toggle
still works in v4.5.3