-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Transition + slots + #if #4064
Comments
I wonder if this is caused by the same problem as |
@halfnelson |
I can repro without slots so I feel it is more likely the same problem, local "transition_in" on inner if block "end"ing a global outro which means the "on outro complete" callbacks aren't called which means the destroy is never called on the other part of the if |
Just tested to see if #4634 fixed it. No such luck, can still reproduce with |
This is fixed in Svelte 5 |
Describe the bug
If we update state while transition, #if statement inside transition element doesn't work with slots properly
To Reproduce
setTimeout
just emulates state change close to transition end.Expected behavior
With and without transition slots should work good
The text was updated successfully, but these errors were encountered: