How to show Modal over a Modal at the same time
See original GitHub issuebootstrap-vue is explicitly checking if any modal is open before opening any modal. If it’s found already one open modal then it closes first and then triggers secondary modal to show.
How can I show both modals at the same time?
I am having the requirement to open modal over a modal. For that, I have defined two b-modal
with modal
and subModal
ref respectively.
But when I open subModal from modal, it hides the first modal and then opens subModal. Is there any way I can change that behavior and show both modals at the same time?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:11 (3 by maintainers)
Top Results From Across the Web
Bootstrap: Open Another Modal in Modal - Stack Overflow
A potential issue in this case is that the backdrop from the 2nd modal hides the 1st modal. To prevent this, make the...
Read more >Is it acceptable to open a modal popup on top of another ...
So in my opinion, closing one modal to view another modal should be avoided in the first place. For any technical reason, if...
Read more >How to create multiple modals (Open modal popup ... - YouTube
Hi friends,In this video you will learn how to create Nested Modal Popup Box using Bootstrap5.
Read more >Modal - Bootstrap
Modals are built with HTML, CSS, and JavaScript. · Clicking on the modal “backdrop” will automatically close the modal. · Bootstrap only supports...
Read more >Managing Multiple Bootstrap Modals - Arroyo Labs
There are two modals currently present which are creatively named ModalOne and ModalTwo. The view of each modal will alternate at a specified...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This works for me template:
js:
https://codepen.io/anon/pen/PyNdGE
@580 I think it not possible in bootstrap-vue. you can use Vue Modal : https://vuejs.org/v2/examples/modal.html