svelte
svelte copied to clipboard
Svelte 5: nested transition is buggy
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:
- a overlay should fade smoothly
- a panel should fly smoothly
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
Logs
No response
System Info
5.0.0-next.221
Severity
annoyance