-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Describe the bug
This is honestly exactly as described in #5415 from a few years back, but it appears to be back in just Safari (I'm using 26.3) now.
The SPA navigation in the SvelteKit documentation reliably gets stuck in the loading state when going back from another page.
This happens on my site too with eg
{#if navigating?.to}
<LoaderComponent />
{/if}
But this happens on the SvelteKit docs site right now too, for a higher-profile example.
I've tried adding all the usual suspects like pageshow events, but in Safari nothing seems to fire when returning back.
Reproduction
- Visit https://kit.svelte.dev/docs/introduction
- Click any of the external links (eg Discord)
- 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
Logs
There is no logging around this on the SvelteKit docs siteSystem Info
System:
OS: macOS 15.7.4
CPU: (10) arm64 Apple M1 Pro
Memory: 163.09 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.21.1 - /opt/homebrew/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.9.4 - /opt/homebrew/bin/npm
Browsers:
Chrome: 145.0.7632.160
Safari: 26.3
Safari Technology Preview: 26.0Severity
serious, but I can work around it
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels