🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

disable-page-scroll

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disable-page-scroll

Disable page scroll on mobile phones

1.0.1
latest
Source
npm
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Disable Page Scroll

NPM version NPM downloads Dependency Status

Disable page scroll in browsers on mobile phones.

Especially for Mobile Safari on iOS with iframes.

Install

npm i --save disable-page-scroll

Using

import { disablePageScroll, enablePageScroll } from 'disable-page-scroll';
import 'disable-page-scroll/dist/index.css';

disablePageScroll();
//...
enablePageScroll();

License

Keywords

disable-scroll

FAQs

Package last updated on 19 Mar 2020

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