wobsoriano/svelte-sonner

Toast closes immediately

Closed this issue · 2 comments

When the page initially loads, if you open multiple toasts consecutively, the second toast and any subsequent ones close immediately.

Here's the original behavior:

Screen.Recording.2023-12-29.at.9.33.26.AM.mov

And after the internal refactor PR:

Screen.Recording.2023-12-29.at.9.34.26.AM.mov

Will look into this! I think I have an idea as to why!

This is only happening immediately after the component mounts right? It seems afterwards it works as expected but want to confirm on your end as well!