Can I not propagate the click action?
lampsbr opened this issue · comments
Versions
- 1.0
Describe the bug
I'm using vue-toastification 1.x in a vuejs2.x + vuetify 2.x project. I'm also using vuetify's component, and when a toast renders over my dialog, it get's closed the wrong way. I mean I need to run some code and check some variables everytime I close my dialog, and I don't want to close it when a toast is closed. But every click to a toast, no motter if it's over my close button or not, seems to close my v-dialog component also. Can I avoid this behavior somehow?
Expected behavior
Have an option to not propagate the close action
Well, I just added the persistent
property from the other package, now my dialog doesn't hide unintentionally.
But is it possible to stop event propagation using vue toastification?
I have the same problem. I fixed it with "persistent" property of v-dialog, but it's not a very good fix.