-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Navigating between /route and /route#hash breaks intermittently. #10524
Comments
I also face the same issue, Sveltekit is broken it seems :-/ I noticed it only happens on the root url, or root page. |
I notice |
|
closed as duplicate of #10234 |
I see it's still broken in v1.25.2. https://stackblitz.com/edit/sveltejs-kit-template-default-utndzs?file=package.json
I see when it breaks and you click twice on /test, then clicking on /test#one works again (once). |
+1 |
Describe the bug
When navigating between a route and the same route with hash link, sometimes navigation breaks.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-ysligc
When alternating TEST (/test) and ONE (/test#one) links, navigating to ONE (#one) stops working eventually.
It seems to me as if some of the time SvelteKit thinks it's still on /test#one after navigating to /test.
You can unstuck navigation by navigating either once more to /test or navigating to another hash (any except #one).
Logs
No errors in browser logs.
System Info
Severity
annoyance
Additional Information
Sometimes navigating from /test#hash back to /test triggers a full page reload, but I couldn't replicate it on Stackblitz.
The text was updated successfully, but these errors were encountered: