Inconsistent onhashchange detection and hash = "" in $page.url when a hash is present #3205
Labels
bug
Something isn't working
p1-important
SvelteKit cannot be used by a large number of people, basic functionality is missing, etc.
router
Milestone
Describe the bug
Things that don't work:
$page.url.hash
is""
when navigating directly to a URL with a hash.i.
<a href='page/with#hash'>Link</a>
Things that are working:
goto
i.
<a on:click={() => goto('page/with#hash')>Link </a>
Reproduction
https://stackblitz.com/edit/sveltekit-jrgcbe?devtoolsheight=33&file=src/routes/test/index.svelte
Logs
Logs:
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: