How to disable overscroll (bounce effect) in DroidScript WebView?

67 views
Skip to first unread message

Ferhat

unread,
Apr 21, 2026, 1:45:57 PM (5 days ago) Apr 21
to DroidScript

Hi, I’m using DroidScript and displaying my app content inside a WebView.

I noticed that when I scroll to the top or bottom of the page, there is a “bounce/overscroll” effect (the stretch/wave effect). I want to completely disable this behavior.

I already tried CSS solutions like:

  • overscroll-behavior
  • disabling body scroll and using inner containers

But none of them worked, which makes me think this is controlled by the native WebView.

My question: Is there any way in DroidScript to disable the WebView overscroll/bounce effect (like Android’s setOverScrollMode(View.OVER_SCROLL_NEVER))?

If not directly, is there any workaround or plugin to access this setting?

Thanks!

Dave

unread,
Apr 22, 2026, 5:12:40 AM (5 days ago) Apr 22
to DroidScript
There is nothing built-in currently to control that feature, however you should be able to use the .Method() property on the webview to call the underlying setOverScrollMode method.  You just need get the values of the constants from here - 

Ferhat

unread,
Apr 23, 2026, 6:39:40 AM (4 days ago) Apr 23
to DroidScript
Hi Dave,
Thanks for your help, I managed to fix the issue.
For reference, the correct usage is:

Method( "setOverScrollMode", "int", 2 );

22 Nisan 2026 Çarşamba tarihinde saat 12:12:40 UTC+3 itibarıyla Dave şunları yazdı:
Reply all
Reply to author
Forward
0 new messages