epicweb-dev / epicweb-dev/restore-scroll
Requires a loader
Open
help wanted
- Dominant language
- TypeScript
- Stars
- 260
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
If I understand correctly, this will update positions when the navigation state is not `idle`, e.g. when it's `loading`. This will only happen if the next route has a loader.
Here's a reduced test case to illustrate the problem: https://stackblitz.com/edit/github-eve2dr-vm34va?file=src%2Fapp.tsx
What are your thoughts on updating this to save the scroll position even when navigating to a route that doesn't have a loader?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.