Image is loading outside the workspace area of CropperJS. I have given default maxHeight and maxWidth to the workspace div. But still image is going out of parent div.
<div class="edited-image">
<div class="image-workspace">
<img src="" alt="">
</div>
</div>
I had tried multile things
- Given default height, width, maxHeight, maxHeight.
- Also tried by giving minContainerHeight, minContainerWidth to cropperJS.
](https://i.stack.imgur.com/hNyXY.png)