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

The crop box does not appear when dragging the area slowly #1219

Open
knizinsky opened this issue Jan 3, 2025 · 0 comments
Open

The crop box does not appear when dragging the area slowly #1219

knizinsky opened this issue Jan 3, 2025 · 0 comments

Comments

@knizinsky
Copy link

Cropper version

v1.6.2

Link to minimal reproduction

https://fengyuanchen.github.io/cropperjs/

Steps to reproduce

  1. Press and hold the left mouse button at the point where you want to start cropping.
  2. Slowly move cursor in any direction

384600633-702ba1b1-d7bf-4172-a483-8a3c377356dd

What is expected?

The crop box appear from the point where user started holding mousedown.

What is actually happening?

If you drag a rectangle area slowly, the crop box is not appearing, it appears when you speed up the cursor movement. This is especially troublesome on smaller images, where the exact starting point is very important.

System Info

No response

Any additional comments?

No response

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

1 participant