Joined May 2015
·

Dean

Perth
·
·

Posted to Smooth Scrolling without jQuery over 1 year ago

There's currently an issue with ios devices, they currently fail when scrolling.
The culprit is this part:
// if(element.scrollTop != previoustop) {
// reject("interrupted");
// return;
// }
I haven't out how to fix, but the issue is that 'previous
top' variable is often not equal to 'element.scrollTop'. My gut feeling is that ios smooths scrolling by default, which would mean that the 'element.scrollTop' may move slightly by itself.

Achievements
1 Karma
0 Total ProTip Views