Similar Question:
How to hide the scrollbar while still allowing scrolling with mouse and keyboard
I have created a sidebar for a web application that needs to enable users to scroll through it without displaying a scrollbar. The content is 500px high, while the container is only 300px high.
I have tried setting the container to overflow:scroll
, which does show scroll bars as expected. I am aware that using overflow:hidden
can disable the scroll bars altogether, but this also stops the scrolling functionality.
Is there a way to maintain scrolling functionality while hiding the scroll bars?