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

Cropping tool having issues with scaling #471

Open
brlaranjeira opened this issue Jun 6, 2024 · 1 comment
Open

Cropping tool having issues with scaling #471

brlaranjeira opened this issue Jun 6, 2024 · 1 comment
Labels
bug Something isn't working TBC (To Be Checked) means the issue needs to get investigated by the product dev./QA

Comments

@brlaranjeira
Copy link

When using the cropping functionality, the frame square does not respect the scale applied to the loaded image.

We have loaded an image whose dimensions are 1600x2000 and set the cropping tool width and height to be 500x1000. However, the cropping square overflows the image, as if the zooming out is applied only to the image, not to the cropping area.

The example is based on the CodeSandbox available in the README and can be accessed here: https://codesandbox.io/p/sandbox/unruffled-fire-fq3w22?file=%2Fsrc%2Findex.js%3A10%2C1-11%2C1

@AhmeeedMostafa
Copy link
Collaborator

@brlaranjeira thanks for providing the codesandbox, I see the issue there we will check this once we have enough time and keep u updated.

@AhmeeedMostafa AhmeeedMostafa added TBC (To Be Checked) means the issue needs to get investigated by the product dev./QA bug Something isn't working labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working TBC (To Be Checked) means the issue needs to get investigated by the product dev./QA
Projects
None yet
Development

No branches or pull requests

2 participants