Create a gist now

Instantly share code, notes, and snippets.

disable rubber-band scrolling in Safari 5.2 (8536.2.3)
html, body
height: 100%
body
overflow: hidden
#wrap
height: 100%
overflow: auto
#scroll_stop
height: 101%
<html>
<body>
<div id="wrap">
<div id="scroll_stop"></div>
<!-- Your App Here -->
</div>
</body>
</html>
@chrisdrackett
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