cropperjs icon indicating copy to clipboard operation
cropperjs copied to clipboard

Keep selections in place when image is moved

Open dmishins opened this issue 1 year ago • 3 comments

It would be nice to have an option to have existing selections follow the image as it moves, similar to the way it works with zoom? Currently, it moves the image behind the selections, so the selected locations change.

dmishins avatar Jan 11 '24 23:01 dmishins

You can try to watch the transform event of the CropperImage element, and then call the $move method of the CropperSelection element.

fengyuanchen avatar Jan 26 '24 07:01 fengyuanchen

Has anyone solved the problem?

e154 avatar Feb 29 '24 05:02 e154

Has anyone solved the problem?

zhi114 avatar Mar 05 '24 01:03 zhi114