euvl / vue-js-modal

Easy to use, highly customizable Vue.js modal library.
http://vue-js-modal.yev.io
MIT License
4.36k stars 594 forks source link

Cant open mutiple v-dialog #722

Open NoChizPlz opened 3 years ago

NoChizPlz commented 3 years ago

Problem:

The problem is you can only use one v-dialog, since calling dialog is by this.$modal.show("dialog") i want to show another dialog after showing and hiding a dialog

I have checked stackoverflow for solutions and 100% sure that this issue is not not related to my code.

begoski commented 3 years ago

Try assigning different names to the dialog and then calling this.$modal.show("name") with the respective name.

DrMarkEy commented 2 years ago

I noticed the same problem starting with version 2.0.0, while opening multiple dialogs (using the v-dialog component) worked fine in 1.3.34. I was able to create a workaround by copying the implementation of the v-dialog component and assigning it a different id. The downside is that I have to remember to always call those two modals in an alternating order.