Yes, I know. This question has been asked a thousand times before. Thanks to all you guys, I was able to find a solution that finally did the job for me in <= iOS7. However, after updating to iOS 8 - nothing seems to work!
What worked perfectly for me in iOS7
Css
html, body, .scrollable {
overflow: auto;
-webkit-overflow-scrolling: touch;
}
jQuery
$(function() {
$(document).on("touchmove", function(evt) { evt.preventDefault() });
$(document).on("touchmove", ".scrollable", function(evt) { evt.stopPropagation() });
});
Other solutions I've tried:
All here: iPhone Web App - Stop body scrolling
And here: iOS Safari – How to disable overscroll but allow scrollable divs to scroll normally?
And here: Disable iOS Overscroll but allow body scrolling
And more ...
So, does anyone know an iOS8 compatible way of disabling the body out of bounds scroll / bounce effect (besides from native solutions applied to phonegap projects)?