Closed Maritims closed 1 year ago
you should manually set option movable to true 'cause it is 'false' by default:
this.cropperOptions = Object.assign({ aspectRatio, movable: false, scalable: false, zoomable: false, viewMode: 1, checkCrossOrigin: true }, this.cropperOptions);
I had to copy the component and related code from lib folder, and
Change this line to true
to get it to work with Angular 14.
Hey Guys, removed the default options that were blocking these features, it's in the latest version.
I am trying to use dragMode: 'move' in order to move the canvas instead of the crop box, but it doesn't seem to work. Is this option supported in your package?
Screenshot from https://github.com/fengyuanchen/cropper: