You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
Could confirm this. If you scroll down and click on the link fast enough (before the prefetch complete/kick in) then you will get the correct behaviour. However, once you open a page then you navigate back and click on the same link again (resources already cached for the page), then the scroll will not reset to the top of the page (unless you remove the cache). But, I'm not sure whether this is a problem in Sapper or maybe Svelte...
Describe the bug
Scroll down on a long page, click a link to another long page. Once the new page loads you will be part of the way down the page already.
Pinning to sapper to 0.27.7 seems to fix it.
Logs
No errors.
To Reproduce
Source is here https://github.com/jakecoffman/stldevs-sapper
Expected behavior
I should be at the top of the next page, not the middle/bottom.
Stacktraces
No stacktraces.
Information about your Sapper Installation:
Severity
Workaround pinning to previous version is acceptable, no rush.
Additional context
Svelte and Sapper are awesome!
The text was updated successfully, but these errors were encountered: