angular-cropperjs icon indicating copy to clipboard operation
angular-cropperjs copied to clipboard

cropper.setDragMode("move") and cropper.crop() not working

Open chr1soscl opened this issue 5 years ago • 1 comments

Hello, I installed your package and I am able to get it start, but it seems the above functionality is not working. cropper.setDragMode("move"); cropper.crop()

you can find the code and the demo app below: https://imageeditorcropperjs.herokuapp.com/ https://github.com/chr1soscl/imageEditorCropperJS

chr1soscl avatar Sep 13 '19 01:09 chr1soscl

My solution is adding setTimeout after the replacing the URL, maybe we need to call setDragMode after the image was loaded.

StefansArya avatar Dec 31 '19 15:12 StefansArya