ngryman / jquery.finger

:v: jQuery touch & gestures, fingers in the nose.
https://ngryman.sh/jquery.finger/
MIT License
423 stars 66 forks source link

Android (4.4.3) drag event ends immediately #37

Closed seanwash closed 9 years ago

seanwash commented 9 years ago

Hey! First off thanks for such a useful library.

I'm using it in a phonegap app that I'm working on at the moment and it's working great for IOS, but I'm having a weird thing happen on Android - It seems like the drag event is ending immediately after starting. I'll keep digging into this to see if I can't find anything else useful for debugging.

Here are a few console log from drag events, as well as the device information:

image

And here are the start/end events expanded:

image

seanwash commented 9 years ago

Got it. I forgot to add preventDefault.