interact.js icon indicating copy to clipboard operation
interact.js copied to clipboard

Gestures not working in ShadowDom

Open chladog opened this issue 2 years ago • 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

chladog avatar Dec 19 '23 12:12 chladog