Phonegap And Android Overflow Issue
It seems that Android webview does not care at all about overflow:hidden css property when having overflowing divs. I took the code of a great tutorial on GPU transitions with HTML
Solution 1:
Okay so I figured out how to do it, this is not pretty but has the advantage of really working:
document.addEventListener('touchmove', function(e){ e.preventDefault(); }, false);
Solution 2:
In current Chrome versions, cancel the touchmove/touchstart events is not allowed for performace reasons. Intead you can try to set touch-action: none;
on the body tag.
Post a Comment for "Phonegap And Android Overflow Issue"