0

How can I hide the scrollbar on Android Chrome/Chromium using CSS/Javascript?

I've tried:

document.documentElement.style.overflow = 'hidden';

Which works on Chrome for Windows, but it doesn't seem to do anything for Androids Chromium backed Webview.

dthomasen
  • 826
  • 15
  • 32
  • **[Possible Duplicate](http://stackoverflow.com/questions/7088826/hiding-the-scroll-bar-in-webview)** – Ullas Sep 24 '14 at 07:55
  • Not a duplicate, since that is a question on how to do it in native Android code. I'm using a custom webview which doesn't support these methods. – dthomasen Sep 24 '14 at 07:56

1 Answers1

1

Try in CSS overflow: auto;overflow-y: hidden;

Bon Kho
  • 124
  • 10
  • Thanks a bunch! It worked!! I can only mark as answer after 7 minutes, will make sure to do it after that :-) – dthomasen Sep 24 '14 at 07:31