matheusdavidson / angular-cropperjs

CropperJS integration for Angular +6
MIT License
109 stars 68 forks source link

At least in Augular 7, it seems replace method will create a additional ".cropper-container"s elements #54

Open MaccabeeY opened 4 years ago

MaccabeeY commented 4 years ago

It is a "bug" or is there a necessary code step required to avoid the creation of additional ".cropper-container" elements?

Thanks, MaccabeeY

MaccabeeY commented 4 years ago

On further investigation, I'm thinking it's a bug in the original cropperjs, I think it's demonstrated here and you can try it yourself, see this issue: https://github.com/fengyuanchen/cropperjs/issues/617.