CSS autohide scrollbar when not scrolling on Android webpage

Posted by b0Gd4N on Stack Overflow See other posts from Stack Overflow or by b0Gd4N
Published on 2014-06-12T10:58:41Z Indexed on 2014/06/12 15:25 UTC
Read the original article Hit count: 291

Filed under:
|
|

Is there a way to make the scrollbar auto-hide when a user is not scrolling a webpage on an Android device, but make it visible when it is scrolling?

Please note that Firefox browsers does have this behaviour enabled by default, it's just Chrome and stock(Samsung, HTC) browsers that don't.

This is what I currently have:

-webkit-box-flex: 1;
width: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;

And I can always see the scrollbar on the list (except in ffox)

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about css