-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding multiple toasts in the same event loop breaks layout #24
Comments
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. |
Downgrading to |
You can see the behavior here: https://stackblitz.com/edit/vitejs-vite-dnbnjo?file=src%2FApp.svelte (with a pinned |
happened with me too on 0.3.3 |
facing the same problem on v0.3.6 my example - Svelte REPL |
Any help would be much appreciated 😃 |
This "solves" the problem (1.1.3) setTimeout(() => {
toast('hello')
}, 0) |
If you run this code:
then the layout will be messed up when hovering:
Creating them in a different event loop works:
The text was updated successfully, but these errors were encountered: