You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When restrictPosition is set to true and the zoom is negative the position restriction does not adhere to the documentation which claims "media should be restricted to the boundaries of the cropper". The short axis is stuck to 0 rather than moving freely on the available space.
Expected behavior
The image should move freely within this boundaries
The text was updated successfully, but these errors were encountered:
Upon further investigation also croppedAreaPixels from onCropComplete is broken under restrictPosition with negative zoom. width and height will never exceed the image's natural size. This causes improper cropping of the image.
This is also broken when zoom=1 but rotation is applied again due to improper bounding of the crop area.
Describe the bug
When
restrictPosition
is set totrue
and thezoom
is negative the position restriction does not adhere to the documentation which claims "media should be restricted to the boundaries of the cropper". The short axis is stuck to 0 rather than moving freely on the available space.Expected behavior
The image should move freely within this boundaries
The text was updated successfully, but these errors were encountered: