Foliotek / Croppie

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

Zoom slider moves when width and height are changed #741

Open andrewlouie opened 3 years ago

andrewlouie commented 3 years ago

Expected Behavior

When reducing both the width and height, the slider either stays where it is, or the image is zoomed in

Actual Behavior

When reducing both the width and height, the slider changes but the image doesn't zoom

Steps to Reproduce the Problem

1.Turn on options enableResize, enableOrientation and showZoomer

  1. Upload an image
  2. Use the resizer to reduce the width and height

Example Link

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

Specifications