aewebsolutions / rcrop

Responsive Cropper is a full responsive JQuery plugin that lets you select an area from an image and prepare crop information to send it to the server.
MIT License
47 stars 23 forks source link

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

Open digitalLeaderAuthor opened 7 years ago

digitalLeaderAuthor commented 7 years ago

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

bobbarn commented 4 years ago

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

kengsc commented 1 year ago

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

touch-action: none;