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
"Maximum update depth exceeded" when clicking the image #218
Comments
Hi this should be fixed in 6.0.8 please give it a go |
Thank you, 6.0.8 fixed it. 🙂 |
Great thanks for checking |
Hello. I have the same problem. When I upload an image in the first time and trying change cropp size I have this error. I took example code from the demo folder But when I downgrade module version to 6.0.8 it works fine |
@noashka thanks can you please let me know the dimensions of the image you tried and also the crop settings? And does it happen every time when you try to resize the crop? I will take a look at it this evening |
I used a simple jpeg image, 435x512px. |
Thanks @noashka, if you get a moment I'm curious if you get the same error on https://codesandbox.io/s/72py4jlll6 Edit: I've spotted one issue but not sure if it's the cause, anyway I'll try and repro later and fix the issue I spotted |
@dominictobias yes, I get the same error |
Thanks, interesting I can't actually replicate but I've seen it before but not sure what I did. I choose an image and then play around with moving and resizing and didn't manage to break it yet. |
@noashka Please try 6.0.12 this issue should be fixed now. It was proving too problematic to try and fix/complete invalid aspect crops every component update/render, so I just fix/complete them if they are incorrect on image load |
@dominictobias You've fixed it! Thank you for help! |
Great thanks for checking
…On Thu, 24 Jan 2019 at 11:03, Vadim ***@***.***> wrote:
@dominictobias <https://github.com/DominicTobias> You've fixed it! Thank
you for help!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAuZ-poQ31IvaJQwT0aLGBYIgWHtrsSgks5vGZMfgaJpZM4YeCHZ>
.
|
I have been getting this error and it looks like it was introduced recently. At first I assumed it was an issue in my local setup, but I can reproduce it in the demo.
It seems to come from the fact that the
onChange
gets called in an infinite loop.Note: rolling back to v6.0.5 fixes it.
The text was updated successfully, but these errors were encountered: