Skip to content
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: newly applied options aren't reflected if a new transition is fired when another is in progress #15699

Open
F-fengzi opened this issue Apr 7, 2025 · 0 comments

Comments

@F-fengzi
Copy link
Contributor

F-fengzi commented Apr 7, 2025

Describe the bug

Using Svelte transitions, if a transition's property is changed and fired again while there is a previous transition playing (e.g. out transition fired during in transition), the newly changed property isn't reflected.

Reproduction

I think this demonstration explains the problem quite well:
https://svelte.dev/playground/5f6689dc57124b308150cbcc7e55e298?version=5.25.6

Logs

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 16.49 GB / 31.89 GB
  Binaries:
    Node: 20.17.0 - C:\Program Files\nodejs\node.EXE
    npm: 11.2.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.2 - ~\AppData\Local\pnpm\pnpm.EXE
    bun: 1.2.7 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (128.0.2739.79)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    svelte: ^5.25.7 => 5.25.7

Severity

annoyance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant