epicweb-dev / epicweb-dev/restore-scroll
Working with the Link tag on navigation
Open
- Dominant language
- TypeScript
- Stars
- 260
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I am planning to use this hook/package with the remix app.
Steps:
[1] Scroll the element to the desired length.
[2] Navigate to another page (e.g documents in the below link)
[3] Navigate back to the home page.
[4] Observe the scroll position of both logo and the
- .
Reproduction: https://stackblitz.com/edit/remix-run-remix-wu1ncjcr?file=app%2Froutes%2F_index.tsx,app%2Froutes%2Fdocuments.tsx
Please note: When I navigate using the browser's back and forward buttons, it works as expected.
Am I using this hook correctly?
Thank you
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.