Skip to content

Conversation

@ColonelPhantom
Copy link

@ColonelPhantom ColonelPhantom commented Mar 26, 2024

Closes #226

By removing the scrollTo(0,0) in Index.svelte for unsubscribeCurrentRoute it seems like scrolling in Firefox is fixed.

My guess is that in Firefox this scrollTo 'wins', whereas in Chromium the hash wins.

I'm not sure if this scrollTo was doing any heavy lifting; a cursory glance showed that most things still seem to work, but as I'm not the original author I'm not sure why this was in there.

As such it is highly possible that I just accidentally removed Chesterton's Fence, but I felt this was at least worth putting out there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Navigation broken in Firefox

1 participant