Zepto JS makes scrolling in a mobile phone app immune

Has anyone else had this before?

Scrolling works ... but if you scroll too fast, the page will remain stationary. You need to do it slowly.

I also know this, as if I'm making a new page with the imported (or even not calling anything) zepto library, it behaves like this. Delete it and scrolling works fine!

Which gives ... I thought that zepto should just be a minimalistic jQuery-like library ... but even the full jQuery library does not interfere with my scrolling like this!


RESOLVED for me anyway.

Check out the comments below.

+5
source share
1 answer

Android Zepto Touch. PhoneGap, , Zepto. ( iOS -webkit-overflow-scrolling: touch)

:

$('.scrolling').bind('touchmove', function(e) { e.stopPropagation(); }

Zepto div, ( ) , YMMV.

+2

All Articles