Disable scrolling webview
Is it possible to disable scrolling in a webview without setting touchEnabled on false? Or maybe turn off the bounce effect? My webpage is smaller than the screen and i don't want the user to know that he is looking to a webview.
Thanks
4 Answers
-
You need to set the event listener inside your html file:
document.ontouchmove = function(event){ event.preventDefault(); }
-
Does anybody know how to disable this???
-
Have you tried to play with the overflow in your webview's css?
Like:
html, body{ overflow: hidden; }
Maybe?
-
can you do scrollable:false when you create the webView ? You can for normal views…