taye / interact.js

JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)

Home Page:http://interactjs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: a new gesture without lifting the finger?

red-meadow opened this issue · comments

Expected behavior

Hi! Is it possible to pinch/rotate immediately after dragging without lifting the finger? This is how Google Maps work, for example: you pan, then add the second finger to zoom/rotate, then continue panning - everything without lifting the first finger. I cannot achieve this.

Actual behavior

If I try to pinch after dragging, the gesture is still recognized as a drag. I have to lift the finger and start a new gesture to pinch successfully. I tried to use actionChecker() but with no result. I can use the second hand to pinch simultaneously but this is not what I need.
Reproduction: Pinch-to-zoom demo on the main page.

System configuration

interact.js version: 1.10.17
Browser name and version: I tried several Android browsers

commented

I hope to support this eventually.

Relates to #794