rcrop icon indicating copy to clipboard operation
rcrop copied to clipboard

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

Open digitalLeaderAuthor opened this issue 7 years ago • 2 comments

An exception in rcrop,min.js file on line 2, column 15337 (source file is still not working, sorry) on mobile devices when dragging the selection grid.

touch-action: none may help as per this issue in another repo

digitalLeaderAuthor avatar Sep 06 '17 21:09 digitalLeaderAuthor

Did anyone fix this? Happens when dragging the box around before cropping in Chrome

bobbarn avatar Jun 17 '20 22:06 bobbarn

Thank you @nobugsauthor this fixed the issue for me. Setting the following CSS on the image's parent container:

touch-action: none;

kengsc avatar Sep 23 '22 16:09 kengsc