-
-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crop area becomes smaller #409
Comments
What is different between the two cases? Could you please share a codesandbox showing the issue? |
Here is my code. After selecting an image for the first time, click |
I'm not fully getting why this is happening but it seems to be related with the way I managed to fix it by not rendering the modal at all if Here's a working sandbox: |
Yes this is also the first thing I tried as there are often issues when the Cropper is rendered outside of screen. For example, when a modal is closed but its content isn't unmounted. |
If you don't want to fully unmount the modal when it's just supposed to be closed, you can have a look to #267. You might have some luck there as the author was using the |
It is normal for the first operation.
However, there is a problem with the second operation.
I need your help.Thanks!
The text was updated successfully, but these errors were encountered: