Skip to content

pinadesign/overscroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overscroll.js

An javascript workarround to prevent iOS overscroll but allows overscroll on children elements. Great for web applications. The minified version is less than 1kb. Feel free to comment or to fork

Bugs

  • Doesn't currently work on body element as default

Installation

  • Download overscroll.js or overscroll.min.js
  • Insert <script src="overscroll.js"></script> at the end of your page just before the </body> tag
  • Set Css so that body { overflow: "hidden"; }
  • Set any element overflow, overfow-x of overflow-y as "scroll" or "auto"

About

Prevent overscroll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published