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

Image can be cropped as dot with minimal size option #854

Open
IevgenNov opened this issue Aug 13, 2021 · 0 comments
Open

Image can be cropped as dot with minimal size option #854

IevgenNov opened this issue Aug 13, 2021 · 0 comments
Labels

Comments

@IevgenNov
Copy link

Description

I setup uploadcare widget to have crop functionality with minimal size.
In the cropping interface i can drag one of the corners until i get the dot and interface allows me to save the image

Steps to reproduce

  1. Setup the widget with crop functionality and add minimum size restriction
<input
      data-crop="100x100 minimum"
      type="hidden"
      role="uploadcare-uploader"
      data-landscape-only="true"
    />
  1. Move the crop to the edge of the image which is being cropped.
  2. Drag one of the crop corners to the edge side

Expected result

Interface should not allow to reduce the image size lower than it is specified by the initial settings
image

Actual result

Interface shows dot as a selection of the cropping area and allows to save it
image

Environment

Mac OS Big Sur
Google Chrome Version 92.0.4515.131
uploadcare-widget ^3.11.0

@IevgenNov IevgenNov added the bug label Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant