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

Gestures not working in ShadowDom

chladog opened this issue · comments

Reproduction:
https://stackblitz.com/edit/stackblitz-starters-6pced9?file=src%2Fmain.ts

Expected behavior

The rotation gesture should work on an element inside ShadowDom.
When we comment out shadowdom activator on :15, it works as expected.

Actual behavior

The rotation won't happen unless second touchstart happens outside ShadowDom bounding rect.

System configuration

interact.js version: latest
Browser name and version: chrome latest