Is there a way to disable scrolling within a webView? reason being I have a webview in a scrollView (along with other elements above and below the webview) and I want the webView to be static and not scroll as I already have the scrollView that is taking care of that.
Any help would be much appreciated.
3 Answers
This is working for me:
<head> <script type="text/javascript"> //Don't allow the webView to scroll, but still let it be clickable document.addEventListener("touchmove", function(e){ e.preventDefault(); return false; }, false); </script> </head>
Have you tried disabling touch on the webview via the touchEnabled property?
this is maybe help :disable scroll in webview
Your Answer
Think you can help? Login to answer this question!