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

Cropper Scaling turns into a Cropper Move #118

Closed
dxoxp opened this issue Jan 8, 2019 · 0 comments
Closed

Cropper Scaling turns into a Cropper Move #118

dxoxp opened this issue Jan 8, 2019 · 0 comments
Labels

Comments

@dxoxp
Copy link

dxoxp commented Jan 8, 2019

Version

TUI Image Editor 3.3.0

Development Environment

Windows 7
Chrome 71
Firefox 64

Current Behavior

If you drag a corner of the cropzone rectangle outside of the image area, and then drag back into the image area, the cropzone rectangle begins to move instead of resizing.

Steps to Reproduce

  1. Launch a browser and navigate to the demo at http:https://nhnent.github.io/tui.image-editor/latest/tutorials/example02-useApiDirect.html
  2. Press the Crop button and draw a cropzone rectangle on the image.
  3. Drag the Top Right corner up and out of the image area.
  4. Continue the drag back down into the image area.
    Note: The cropzone rectangle moves as a whole.
    Expected: The cropzone rectangle should continue resizing when dragging the corner button.

Expected Behavior

The cropzone rectangle should not start moving. Only the direction being dragged should continue to resize.
SizeToMove.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants