Maronato / vue-toastification

Vue notifications made easy!
https://vue-toastification.maronato.dev
MIT License
3.03k stars 139 forks source link

Can't see stacking more than one item at a time #349

Closed polyminthe closed 1 year ago

polyminthe commented 1 year ago

Versions

Describe the bug

I use the method toast.update(id,content,true); to create a new toast with the create option at (true) to create a new one if not exists. Everything work well, but when i want to create a new one. The first toast dispear. Is it a bug? Or i miss understand something ?

Expected behavior

to use the toast.update for update or create a new one, And can see the toast stacking from top to bottom

Steps to reproduce

Steps:

  1. Install normally
  2. Set up plugin
  3. Call toast.update(id,content,true); multiple times , and some times with different ID

Your Environment

Additional context

Many thanks if you can help me sire

polyminthe commented 1 year ago

Ok , sorry it was my fault... juste after write this question. I found i update the toast with the wrong ID:

options: { id: wrongId, position: POSITION.TOP_RIGHT, timeout: false, toastClassName: 'toast-epn-upload-progress, ' + className, icon: false, closeButton: false, }