Open GabbasovDinar opened 6 years ago
Hi @GabbasovDinar , Its the issue that exist with slimscroll it needs moderation but i have found a temporary workaround for this by changing a few lines of codes .
Let the touchScrollStep to default i.e do not set it.
Check the code in slimscroll.js file around line 358 .
Replace delta = (y > 0) ? Math.ceil(delta): Math.floor(delta);
With
var speedfix = 10; delta = (y > 0) ? Math.ceil(delta) + speedfix : Math.floor(delta)- speedfix;
Changevar speedfix
value to your requirement.
Thanks, Please ask moderators to make this plugin living else it will gets obsolete.
When you take off your finger from screen, scrolling stops immediately. But for default event (without this plugin), scrolling continues.
Steps to reproduce:
Current behavior:
Expected behavior: The scrollbar scrolls down / up for without touching when you take off finger, as for default event