scroll always back to top in some android devices
When done setup the div with overscroll, the content is a lot longer than the div size, so whenever trying to keep scrolling to see more content with a second dragging, it'll automatically scroll Top, and then response to the dragging, very frustrating
Happened in some android devices
Any idea why ? Thanks in advance
Here the same problem. Android version 5.0.2 with android chrome borwser. ( tested with demo page http://azoff.github.io/overscroll/ )
Happens on Android 5.1.1 as well
I had the same issue. I could fix it with following workaround in jquery.overscroll.js, starting on line 176
Replace
position.x = event.pageX;
position.y = event.pageY;
with
if (event.type === 'touchstart') {
position.x = event.originalEvent.changedTouches[0].pageX;
position.y = event.originalEvent.changedTouches[0].pageY;
} else {
position.x = event.pageX;
position.y = event.pageY;
}
Seems to work on Android and iOS.
Hope that helps.
dude! finally a hero comes to the rescue~ thanks a lot!
nice one bruuuuuuuuuu. thanks alot