Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

disable rubber-band scrolling in Safari 5.2 (8536.2.3)

View css.sass
1 2 3 4 5 6 7 8 9 10 11 12
html, body
height: 100%
 
body
overflow: hidden
 
#wrap
height: 100%
overflow: auto
#scroll_stop
height: 101%
View css.sass
1 2 3 4 5 6 7 8
<html>
<body>
<div id="wrap">
<div id="scroll_stop"></div>
<!-- Your App Here -->
</div>
</body>
</html>
Owner

#scroll_stop is just an empty div that is taller than the given page. Sadly this is a lot more code than was needed before this version of safari.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.