Adding multiple toasts in the same event loop breaks layout
enyo opened this issue · comments
Mat Simon commented
Robert Soriano commented
Thanks for reporting! Can you try v0.3.1 and check if the issue is present there as well?
v0.3.2 introduces the ability to set position when creating a toast, and that update might be causing this issue.
Mat Simon commented
Downgrading to v0.3.1
did not solve it.
Mat Simon commented
You can see the behavior here: https://stackblitz.com/edit/vitejs-vite-dnbnjo?file=src%2FApp.svelte (with a pinned v0.3.1
version)
Ayush Sehrawat commented
happened with me too on 0.3.3
shimulroy842 commented
facing the same problem on v0.3.6
my example - Svelte REPL
Robert Soriano commented
Any help would be much appreciated 😃
Jeffrey León commented
This "solves" the problem (1.1.3)
setTimeout(() => {
toast('hello')
}, 0)