Skip to content

This jQuery plugin provides a fix to overflow:scroll on iOS devices where the entire document is scrolled when at the top or bottom of such element.

Notifications You must be signed in to change notification settings

adeniszczyc/iOSOverflowScrollFixed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Plugin - iOS Overflow Scroll Fix

On mobile safari, when you try to scroll up in the element with overflow:scroll, while it it already scrolled to the top, the whole page scrolls instead of the scrolling bounce. This also occurs at the bottom. This tiny jQuery plugin corrects this.

Installation

  1. Download the plugin from here or minified from here
  2. Include plugin after jQuery. <script src="jquery.fixedoverflow.js"></script>
  3. Call the .fixedOverflow(); method on selectors with overflow:scroll

Links

About

This jQuery plugin provides a fix to overflow:scroll on iOS devices where the entire document is scrolled when at the top or bottom of such element.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published