react-router-hash-link
react-router-hash-link copied to clipboard
Doesn't work if scrolling to a section on a different route
My issue was previously reported here but it seems to not have been resolved yet.
Scrolling to a section on different route works fine in the example app https://react-router-hash-link.rafgraph.dev so my guess is it’s an issue with your code. Note that it won’t smooth scroll to a section on a different route.
If you think it’s an issue with this package please provide a failing example using code sandbox. Thanks.