Describe the bug
I am using react-easy-crop with mantine components. Currently I am loading the cropper component inside a mantine modal. The issue is when the cropper is loaded inside a modal, I can't move it to the edges of the selected image (it's like padded). One thing I noticed is that when I open the modal and then open the console from the same window (from right, left or bottom), the above mentioned issue goes away.
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/fervent-pine-xiucoj
- Click on 'Open cropping dialog'
- Select an image from the file system
- Try to move the cropper to edges of the image
Expected behavior
Should be able to move the cropper anywhere inside the selected image, so we can crop any part form that image.