Skip to content

Conversation

@ValentinH
Copy link
Owner

Fixes #634

When the cropper is inside an animated modal, there was an edge case where the previousCropSize was {width: 0, height: 0} leading to the computed crop being set to {x: NaN, y: NaN} 🙈

@ValentinH ValentinH added patch Increment the patch version when merged bug Something isn't working labels Nov 27, 2025
@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.

@ValentinH ValentinH merged commit 3d85356 into main Nov 27, 2025
5 checks passed
@ValentinH ValentinH deleted the fix-634 branch November 27, 2025 08:31
@github-actions
Copy link

🚀 PR was released in v5.5.6 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Increment the patch version when merged released This issue/pull request has been released.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unexpected performance when used in conjunction with antd-modal

2 participants