Replaced minSize with minWidth and minHeight and updated Croppie.defaults so users can easily restrict minimal boundary (instead of using event hander).
Example:
var el = document.getElementById('vanilla-demo');
var vanilla = new Croppie(el, {
viewport: { width: 300, height: 374 },
boundary: { width: 450, height: 450 },
showZoomer: true,
enableResize: true,
resizeControls: {
minWidth: 250, // this sets min width
minHeight: 250 // this sets min height
},
enableOrientation: true,
mouseWheelZoom: 'ctrl'
});
Replaced minSize with minWidth and minHeight and updated Croppie.defaults so users can easily restrict minimal boundary (instead of using event hander).
Example: