Closed bhutiyaDilip closed 6 years ago
i find the solutions for this issue. it's working well for me.
myReader.onloadend = function (loadEvent:any) {
image.src = loadEvent.target.result;
let timeoutId = setTimeout(() => {
that.cropper.setImage(image);
}, 100);
};
myReader.readAsDataURL(file);
thanks.
ng2-image-cropper is not working properly when I load image first time.when I upload same image second time than it will be loaded.
![crop1](https://user-images.githubusercontent.com/29307249/32330280-9eaf2ede-c005-11e7-9e4a-16418c5eb948.png)