javascript - Custom scrollbar - mouse wheel too slow -


I am working on a site that has a div with a custom scroll bar. My problem is that the mouse wheel It's not working properly, it's very slow.

is the site and the custom scroll library

, such a script has been issued:

  $ (window) .load (function () ($ {"Scroll-panel"). MCustomScrollbar (); // code which is faster to scroll with a mouse}};    

You can set the scrolling speed in options as described in Scol libraries here:

I think what you are looking for It's something like this:

  $ (". Scroll-pane"). MCustomScrollbar ({mouseWheelPixels: 50 // c Hange it is for a price that matches your needs})   

As long as scoring is needed, keep playing it with the value. < / Div>

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -