ngryman / jquery.finger

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

Drag gets triggered on mouse/tap up #49

Closed ixley closed 7 years ago

ixley commented 7 years ago

Expected behavior Long press (or sustained click) with no x/y movement triggers press event, but not drag.

Actual behavior A long press (or sustained click) triggers the drag event on mouse up or touch end.

ngryman commented 7 years ago

Hey @ixley,

Thanks for the report! May I ask you to link me a JSFiddle that reproduces the issue? That would help me to quickly review the bug.

Thanks!

ixley commented 7 years ago

@ngryman I actually noticed this exhibited on the demo site – (Mac) Safari, Chrome, and Firefox (latest versions)

ngryman commented 7 years ago

Thanks for the catch 🐞. I'm on it.

ngryman commented 7 years ago

Fixed and released as 0.1.6. Thanks!