You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
I'm using interactjs in my React project for dnd emulation though pointer events from this library. But encountered with problem.
If I use .unset() on draggable element unmount during drop process, I got an error.
I reprodused it with pureJs: https://codepen.io/nishirken/pen/LYWzNYK
Expected behavior
interactable should be handled before fireEvent call, or events dispatching process should be terminated for elem, which doesn't have interactable instance.
optional call this.interactable?.fire(iEvent) seems to be the simplest solution.
Actual behavior
error
System configuration
interact.js version: 1.10.11 Browser name and version: FireFox Developer Edition v89.0b15 (64-bit) Operating System: macOS 11.4
The text was updated successfully, but these errors were encountered:
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.
Hi
I'm using interactjs in my React project for dnd emulation though pointer events from this library. But encountered with problem.
If I use .unset() on draggable element unmount during drop process, I got an error.
I reprodused it with pureJs: https://codepen.io/nishirken/pen/LYWzNYK
Expected behavior
interactable should be handled before fireEvent call, or events dispatching process should be terminated for elem, which doesn't have interactable instance.
optional call
this.interactable?.fire(iEvent)
seems to be the simplest solution.Actual behavior
error
System configuration
interact.js version: 1.10.11
Browser name and version: FireFox Developer Edition v89.0b15 (64-bit)
Operating System: macOS 11.4
The text was updated successfully, but these errors were encountered: