react-router-hash-link icon indicating copy to clipboard operation
react-router-hash-link copied to clipboard

Doesn't work if scrolling to a section on a different route

Open brian-o-mars opened this issue 2 years ago • 1 comments

My issue was previously reported here but it seems to not have been resolved yet.

brian-o-mars avatar Jun 13 '22 17:06 brian-o-mars

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.

rafgraph avatar Jun 13 '22 19:06 rafgraph