-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Open
Description
Describe the bug
reproduction:
https://www.sveltelab.dev/ir0u7dml3b168h6?files=.%2Fsrc%2Froutes%2Fsuccess%2F%2Bpage.svelte
- Click "go to page"
- Submit form
- The success message renders. Click "Go to target page".
- ERROR: The "No success state" from the previous page is rendered on the target page. It keeps persisting even after subsequent navigation to the home page.
This only happens if the transition is "global", and using the experimental async compiler option.
This started happening after I upgraded from svelte@5.26.3 -> svelte@5.37.3 and @sveltejs/kit@2.17.2 -> 2.27.0
Reproduction
https://www.sveltelab.dev/ir0u7dml3b168h6?files=.%2Fsrc%2Froutes%2Fsuccess%2F%2Bpage.svelte
Logs
System Info
System:
OS: Linux 6.12 Pop!_OS 22.04 LTS
CPU: (12) x64 AMD Ryzen 5 PRO 5650U with Radeon Graphics
Memory: 503.65 MB / 14.46 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 22.17.1 - ~/.nvm/versions/node/v22.17.1/bin/node
npm: 10.9.2 - ~/.nvm/versions/node/v22.17.1/bin/npm
pnpm: 10.13.1 - ~/.nvm/versions/node/v22.17.1/bin/pnpm
bun: 1.1.38 - ~/.bun/bin/bun
Browsers:
Chrome: 138.0.7204.92
npmPackages:
svelte: ^5.37.3 => 5.37.3
Severity
annoyance
PatrickG
Metadata
Metadata
Assignees
Labels
No labels