1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-19 20:02:34 +02:00

Fix modal when is triggered by bs-toggle, to hide other open instances (#34701)

This commit is contained in:
GeoSot
2021-08-10 17:55:34 +03:00
committed by GitHub
parent 418fe8113e
commit 1e5e655670
3 changed files with 31 additions and 1 deletions

View File

@@ -528,7 +528,7 @@ Toggle between multiple modals with some clever placement of the `data-bs-target
Hide this modal and show the first with the button below.
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal" data-bs-dismiss="modal">Back to first</button>
<button class="btn btn-primary" data-bs-target="#exampleModalToggle" data-bs-toggle="modal">Back to first</button>
</div>
</div>
</div>