Skip to content Skip to sidebar Skip to footer

Touchend Not Firing After Touchmove

I'm trying to make a page for mobile devices that detects the scrollTop position and scrolls to the top of the page if scrollTop is lower than half the document height or scroll to

Solution 1:

try to attach listener on both touchend and touchcancel.

$(document).on('touchend touchcancel', function() {
    doSomthing();
});

Solution 2:

I wrote a shim to deal with this problem Probably a bit late for you but it might help someone. https://github.com/TNT-RoX/android-swipe-shim

Post a Comment for "Touchend Not Firing After Touchmove"