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 has been archived by the owner on Jan 11, 2023. It is now read-only.
Occasionally you want a link to take you to a new route without affecting the scroll position (e.g. you're flicking through some horizontal tabs that have been pushed down by a header). Currently it requires some hoop-jumping.
It would be cool if you could just do this instead:
<ahref="foo" sapper-noscroll>
clicking this link won't reset the scroll position to zero
</a>
The text was updated successfully, but these errors were encountered:
I just implemented a quick ad-hoc work-around, but it's annoyingly janky, since I have to persist the scroll position and the resume it every time the route changes. Maybe there's a better way to overcome the jank, but nevertheless this feature would be much appreciated!
Occasionally you want a link to take you to a new route without affecting the scroll position (e.g. you're flicking through some horizontal tabs that have been pushed down by a header). Currently it requires some hoop-jumping.
It would be cool if you could just do this instead:
The text was updated successfully, but these errors were encountered: