Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.55k stars 886 forks source link

Square Preset of 1:1 or any other should be able to resized proportionally when trying to drag the grid control point. #778

Open Akperhe opened 1 year ago

Akperhe commented 1 year ago

Expected Behavior

Square Preset of 1:1 or any other should be able to resized proportionally when trying to drag the grid control point.

Actual Behavior

Control point of presets which controllable are not resizing proportionally to fit preset ratio.

Steps to Reproduce the Problem

  1. On cropper screen
  2. Select any default preset of crop ratio; could be 1:1
  3. Drag the corners of the grids which are draggable and see the preset of 1:1 or the crop box resizing relative to the preset recently selected

Example Link

Please recreate your issue using JSbin, JSFiddle, or Codepen.

Specifications