svelte icon indicating copy to clipboard operation
svelte copied to clipboard

Svelte 5: nested transition is buggy

Open dm-de opened this issue 6 months ago • 7 comments

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:

  1. a overlay should fade smoothly
  2. 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

LINK

Logs

No response

System Info

5.0.0-next.221

Severity

annoyance

dm-de avatar Aug 14 '24 15:08 dm-de