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

move image into zone crop #626

Open
memory660 opened this issue Apr 4, 2024 · 1 comment
Open

move image into zone crop #626

memory660 opened this issue Apr 4, 2024 · 1 comment

Comments

@memory660
Copy link

the normal operation is that when the cursor is inside the crop zone I move the crop zone.

what I would like is for the image to move.

If this is not possible directly, is it possible to ensure that we click on a button so that the cropper goes into image movement mode? (with hand as cursor)

@Mawi137
Copy link
Owner

Mawi137 commented May 22, 2024

If I'm not mistaken you can set allowMoveImage to true as well as hideResizeSquares. You should also set a static width and height for the cropper for it to be fixed. I'm not sure whether it will then still track mouse events on the cropper, if it still does, you can add some css on the cropper: pointer-events: none.

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

No branches or pull requests

2 participants