-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
Description
Describe the bug
Please see the REPL.
I could reduce it to the following: if a state/derived variable is referenced inside of an @each loop, a transitioned dependent value becomes undefined too early hence breaking the usual flow of an out transition (illustrated better using @html)
Reproduction
Not referencing {!!errors} in the template on line 26 restores the expected behaviour.
Logs
No response
System Info
System:
OS: macOS 12.7.3
CPU: (10) arm64 Apple M1 Max
Memory: 2.50 GB / 64.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v18.16.0/bin/yarn
npm: 9.6.5 - ~/.nvm/versions/node/v18.16.0/bin/npm
pnpm: 8.15.3 - ~/.nvm/versions/node/v18.16.0/bin/pnpm
bun: 1.0.23 - ~/.bun/bin/bun
Browsers:
Chrome: 120.0.6099.234
Edge: 121.0.2277.128
Safari: 17.3
npmPackages:
svelte: ^5.0.0-next.0 => 5.0.0-next.72Severity
blocking an upgrade
FoHoOV