0.2.9 • Published 3 years ago
@myxplor/scroll-to-top v0.2.9
Scroll to top
With single page apps, if the user has scrolled downwards and clicks a ReactRouter Link
to navigate to a new page the viewport will remain scrolled down. This is a thin wrapper to scroll the page to the top when the browsers history state changes.s