disable-page-scroll
v1.0.1
Published
Disable page scroll on mobile phones
Downloads
13
Readme
Disable Page Scroll
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();