ThomasLeconte / vuetify3-dialog

Vue 3 & Vuetify 3 plugin to create dialogs (confirm, warn, error), toasts or bottom-sheets with Promises anwsers.
https://www.npmjs.com/package/vuetify3-dialog
MIT License
26 stars 9 forks source link

Stack multiple notifications #9

Closed Joebayld closed 10 months ago

Joebayld commented 10 months ago

It would be nice to support a stack of notifications when multiple are presented at once. Currently when you receive multiple notifications they fall on top of each other, but having a vertical stack would be nice so you can see more than one.

I'll try and work on this - but for now just starting a ticket.

ThomasLeconte commented 10 months ago

Nice Idea ! But actually, everytime a notification is created, a new Vue context is loaded too. Working with only one new context dedicated to the Plugin could be useful for your Idea !

Joebayld commented 10 months ago

Check this out. they do it already but for vue 2.

https://github.com/yariksav/vuetify-dialog

ThomasLeconte commented 10 months ago

Check this out. they do it already but for vue 2.

https://github.com/yariksav/vuetify-dialog

Hi, I don't know if you worked on it, but I started something, it works, I will release it soon after some tests ! https://github.com/ThomasLeconte/vuetify3-dialog/commit/a857e5e2821a86c6c20bd87f06c0171549d97c3a

ThomasLeconte commented 10 months ago

Hi, 1.4.3 version is now available and solve your problem.

Joebayld commented 6 months ago

Was thinking we should re-open this based on the new feature Vuetify 3 added. https://github.com/vuetifyjs/vuetify/issues/2384

I haven't dug into it but looks like they're going to do the work for stacking notifications natively!