-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Svelte 5: nested transition is buggy #12840
Comments
Can you provide a corresponding Svelte 4 REPL where this is behaving differently? Are you sure this isn't just the change from Svelte 3 to Svelte 4 where transitions became local by default, rather than global? |
Is this different from #10170? |
Thanks for pointing this out. So this issue with #if same like #10170 But here is another problem. Here is Svelte 4 code to compare: And updated Svelte 5 code: Do you see this flickering gray box in Svelte 5? |
That flickering seems to be #12844 |
With newest Svelte 5 version - flickering is no more visible. But! If you click faster than animation duration - you will see strange effect where elements are shown immediatly without fade in: This is the same example - but with longer duration: |
I get the exact same thing with Svelte 4. :/ |
With Svelte 4, I get expected result without any glitch. Svelte 4 Svelte 5 |
is now fixed |
Describe the bug
One transition inside other transition do not work correct - when {if} block is used.
Similar code work with Svelte 4.
Reproduction
What should happen, if you click button:
But only fade works. Panel do not fly.
Open Overlay.svelte and remove {#if} block - but do not remove {@render}
Now, this happens:
-fade do not animate smoothly
-but panel fly as expected
LINK
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: