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

Rotation example not work in web component

chunlinyao opened this issue · comments

Use interactjs in web component with shadowRoot. the rotation example sometime works. But is difficult to start.
If I start touch with two finger at same time, it not work. Start with fast interlived taps two fingers followed by move can rotate.
(https://codepen.io/chunlinyao/pen/jOKepEa)

Expected behavior

Can rotate by two fingers.

Actual behavior

Very difficult to start. Start with fast interlived taps two fingers followed by move can rotate.

System configuration

interact.js version is 1.10.17:
Browser name and version Chrome 107.0.5304.141:
Operating System Android 10: