Created
March 20, 2012 15:52
-
-
Save chrisdrackett/2137382 to your computer and use it in GitHub Desktop.
disable rubber-band scrolling in Safari 5.2 (8536.2.3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body | |
height: 100% | |
body | |
overflow: hidden | |
#wrap | |
height: 100% | |
overflow: auto | |
#scroll_stop | |
height: 101% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div id="wrap"> | |
<div id="scroll_stop"></div> | |
<!-- Your App Here --> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.