DEV Community

Md Abdullah al noor
Md Abdullah al noor

Posted on

Answer: How to show scrollbar on mouse over?

you can try this .. maybe it will help you..

it's not looking good but i think it should work i use scroll event . if you need use wheel event . set time delay as you need...

 (function () {
            var timer;
            document.querySelector('div').addEventListener('scroll', function (event) {
                if

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay