I use perfect-scrollbar https://github.com/mdbootstrap/perfect-scrollbar for custom scrollbar. The scrollbar is visible only when you mouse hover the container.
How can I show the bar only on scroll event and hide it on scroll end?
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
onscroll() function. Try something like this-
This code is from another stack question- How do I know when I’ve stopped scrolling?
onscroll() event in js- https://www.w3schools.com/jsref/event_onscroll.asp