-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
Description
Describe the bug
The SPA navigation in the SvelteKit documentation reliably gets stuck in the loading state when going back from another page, if the browser has a back-forward cache. I have reproduced this issue with a new Chrome 103.0.5060.114 profile (no extensions) and also on iOS Safari 15.5.
Reproduction
- Visit https://kit.svelte.dev/docs/introduction
- Click the 'Visual Studio Code (aka VS Code)' link
- Go back
- Observe that https://kit.svelte.dev/docs/introduction is now stuck in the 'loading' state (top orange bar) and grayed-out page after a few seconds
If this does not repro, you may need to restart a new-profile Chrome a few times for it to enable the back/forward cache by default. This issue does not reproduce if 'Back-forward cache' is explicitly disabled in chrome://flags/.
Logs
There doesn't appear to be anything in the DevTools Console or Network tabs
System Info
Chrome 103.0.5060.114 on Windows 10 21H2
iOS Safari 15.5 on iPhone 11Severity
annoyance
Additional Information
I have not tested whether this affects SvelteKit in general