halstack-react
halstack-react copied to clipboard
Fix scrolling when navigating between pages on the documentation site.
Checklist (Check off all the items before submitting)
- [x] Build process is done without errors. All tests pass in the
/libdirectory. - [x] Self-reviewed the code before submitting.
- [x] Meets accessibility standards.
- [x] Added/updated documentation to
/websiteas needed. - [x] Added/updated tests as needed.
Purpose Scroll to Top when we switch from when page to another
LGTM, let's wait for @Jialecl to confirm though.
This approach messes with the navigation to different sections. For example: if you navigate to a link that looks like https://(,,,).com/(...)/#intro it won't scroll to #intro