taye / interact.js

JavaScript drag and drop, resizing and multi-touch gestures with inertia and snapping for modern browsers (and also IE9+)
http://interactjs.io/
MIT License
12.38k stars 785 forks source link

Webkit bug for elements in an iframe #942

Open tups opened 2 years ago

tups commented 2 years ago

Expected behavior

When checking the action of an element, it checks if it is an element. When we are in an iframe this verification is falsified during the verification, because it cannot be instantiated with window.Element.

System configuration

interact.js version: 1.10.11 Browser name and version: Last version of Safari or Chrome and other webkit browser Operating System: Windows and MacOS

Here is a screenshot to illustrate on a breakpoint: chrome_L2jfzNnD79

tups commented 2 years ago

I just set up a PR: #943

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

tups commented 2 years ago

Thanks Stale, but not close this issue