Croppr.js icon indicating copy to clipboard operation
Croppr.js copied to clipboard

Bug with minSize option.

Open 88Maxwell opened this issue 8 years ago • 2 comments

At first and second images option minSize set [322, 220, 'px']. If image have a 100x100 px resolution and minSize [70, 70, 'px'] and postion of croppr-region 0, 0 px, you can`t take a top left corner of croppr-region and move him to top right corner of image because image been smaller than minSize. image image

88Maxwell avatar Feb 28 '18 21:02 88Maxwell

Indeed this is a pretty major bug for the minSize option. Will try to get a fix out the soonest.

jamesssooi avatar Mar 04 '18 08:03 jamesssooi

I've made a PR with a fix, if anyone is still using this.

vpalos avatar Jul 27 '19 14:07 vpalos