Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Iscroll mousewheel scrolling works slow in firefox than Google Chrome

Please check this example link: http://lab.cubiq.org/iscroll5/demos/probe/

If i run above example page in chrome and scroll through mousewheel, the page goes up by 100px every time. You can see there is Y position printed. If i run same above page in firefox 26.0 and scroll through mousewheel, the page goes up by 3px every time. You can see that page goes up very slow in firefox. Is there any way to fix them?

like image 503
Rajnikant Kakadiya Avatar asked Nov 29 '25 10:11

Rajnikant Kakadiya


1 Answers

This is a problem with the iscrolljs library, as reported 8 days ago on the github site for iscroll. Please refer to: https://github.com/cubiq/iscroll/issues/577

If you debug the code on Firefox you will see that deltaY is being adjusted only by -3 each time a scroll event occurs. This is different to chrome which has a very large deltaY adjustment on scroll.

I would suggest waiting until a patch is supplied. If your need is urgent then I would recommend using the older version until a fix is available.

like image 132
Metalskin Avatar answered Nov 30 '25 22:11

Metalskin