How to crop an image after you already cropped another before #382
Unanswered
MathiasOlivera24
asked this question in
Q&A
Replies: 1 comment
-
Are you able to share a reproduction of this unexpected behavior? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm trying to give the user the option to change the image once they already selected one. No problem I thought, I'll just change the image on my parent component, which I'm passing as a prop to the cropper. this seemed to have worked because the new image is displayed, but the problem is that the cropped result in the onCropComplete function is the old image.
If the image hadn't changed, I wouldn't have written this, but the new image shows up fine.
thanks
Beta Was this translation helpful? Give feedback.
All reactions