node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

prevent-overscroll

prevent-overscroll

JavaScript library to prevent scrollable elements from scrolling the entire body on iOS.

Usage

var preventOverscroll = require('prevent-overscroll');
 
// Prevent someDOMNode from scrolling the body 
var cleanup = preventOverscroll(someDOMNode);
 
// Call cleanup if you remove someDOMNode or want to re-enable overscrolling. 
cleanup();