Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@myxplor/scroll-to-top

Package Overview
Dependencies
Maintainers
8
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myxplor/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

latest
npmnpm
Version
0.2.9
Version published
Weekly downloads
0
-100%
Maintainers
8
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 27 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts