Skip to content

Cropper not triggering crop start when dragging in straight line #1208

Open
@knizinsky

Description

@knizinsky

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. While holding the left mouse button, move the cursor in a straight line (e.g., left/right/top/bottom).
  3. Instead of starting to select the area to be cropped, nothing happens.

cropperjs

What is expected?

After pressing down the pointer and moving the mouse, even in a straight line, the crop start event should be triggered, and a new crop box should appear.

What is actually happening?

While holding the left mouse button, and then moving the cursor in a straight line, Instead of starting to select the area to be cropped, nothing happens. When you move the cursor in a different direction, then crop box is created.

System Info

No response

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions