I'm working on a site which contains a div with a custom scroll bar. My problem is that the mouse wheel doesn't work properly, it's too slow.
The site is http://alaaelseifi.net/ and the custom scroll library is from http://manos.malihu.gr/
The script issupposed to be like this:
$(window).load(function() {
$(".scroll-pane").mCustomScrollbar();
//code that make scrolling with mouse faster
});
I also noticed that the "slow" feeling on my site was due to the fact that scroll inertia is turned on by default if you use the following it will turn that off and cause the bar to not lag trying :
$(".scroll-pane").mCustomScrollbar({
scrollInertia: 0
});
This worked for me.
scrollInertia: 0
mouseWheelPixels: 170,
autoDraggerLength:false,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With