-
Notifications
You must be signed in to change notification settings - Fork 156
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
The cropper disappear when upload a image #181
Comments
Can not reproduce on Chrome. maybe similar to this. |
cuong2001a is my account, I saw that topic, and I understand that add transitionName="" and maskTransitionName="", but how to config that into like props of a Modal? |
It is not supported at present to customize Modal props, may be added in the future. |
Can we fix it ourselves? The error triggers quite a lot with large images. On Chrome / Firefox or Safari on Mac |
I had the same issue as well. Taking reference from #177, I created a PR for adding the 2 attributes to the AntModal. It seemed to have fixed this issue |
The image: https://i.pinimg.com/originals/6b/6f/ac/6b6fac2c5263b36cafbb8a6d13d19210.jpg
My code:
The error:
![image](https://user-images.githubusercontent.com/62129278/162925120-fbbb7f45-e734-429b-ad7f-6c9a4cab2033.png)
The cropper is just a tiny point in center with width = 0, and height = 0, I can't do anything. and when click ok to preview the image can't load
The text was updated successfully, but these errors were encountered: