Skip to content
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

Compare cropsize properties individually instead of object references. #134

Merged
merged 1 commit into from May 18, 2020

Conversation

dvail
Copy link
Contributor

@dvail dvail commented May 18, 2020

I also ran into the issue described here: https://github.com/ricardo-ch/react-easy-crop/issues/123, which even though that issue was closed has an easy fix.

Automated and manual tests passed, and I was able to verify the infinite loop crash no longer occurs when setting the cropSize object directly as a component prop in examples/index.tsx.

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 3c6d461:

Sandbox Source
wild-rain-t5yhi Configuration

@ValentinH ValentinH merged commit 4d32ffe into ValentinH:master May 18, 2020
@ValentinH
Copy link
Owner

Thanks for this! I've merged it and will publish it probably tomorrow (away from computer right now).

@ValentinH
Copy link
Owner

@allcontributors please add @dvail for code

@allcontributors
Copy link
Contributor

@ValentinH

I've put up a pull request to add @dvail! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants