Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Double tap event fires when touching with two fingers #5

ggoodman opened this Issue Jun 14, 2012 · 2 comments


None yet
3 participants

I do not think that this is the intended behaviour.

In looking at the double-tap recognizer it would seem that no logic is included to recognize whether the taps relate to the same pointer (finger).

Similarly, I found on an iPad3/iOS5.1 that the Gesture Event Logger demo will trigger longpress and doubletap the first couple times you trigger scale. When I touch down with my 2 fingers to begin scaling, I get a "doubletap" log. Continuing, half a second into scaling, I get "longpress."

There needs to be some logic to short out the triggering of other events. While technically, scaling does result in keeping your fingers on the surface (a longpress), in order to be really useful, the key events you should be providing are ones that relate to common UX behaviors (which I'm sure you already know), so a longpress should be only when you tap and hold in place, commonly to raise a context menu.

@matthewrobertson matthewrobertson added a commit to matthewrobertson/pointer.js that referenced this issue Jun 22, 2012

@matthewrobertson matthewrobertson fix for longpress on durring scale bug reported in issue #5 253233a

borismus commented Mar 27, 2013

Fixed by Matt's patch.

@borismus borismus closed this Mar 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment