taye/interact.js

Gestures not working in ShadowDom

chladog opened this issue · 0 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