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
I ran into a problem with the basic clipper component: The selected image is placed incorrectly onto the canvas if a ratio bigger than the ratio of the selected image is set. If e.g. a photo with an aspect ratio of 4:3 is selected and I try to set a fixed ratio for the clipper of 4:1 I can not see the image anymore because it seems to be placed too far to the left (if zoomed out completely you can usally find it again). The problem does not show up if a smaller ratio is selected than the original image has.
I only experienced the problem with firefox but not with chromium so I assume it has to do with browser compatibility.
To Reproduce
Steps to reproduce the behavior:
include a basic clipper component
use firefox 76.0 on fedora
select an image to crop
set the ratio prop > than the image aspect ratio
Expected behavior
The expected behaviour obviously would be that the image position is not related to the selected fixed ratio value as it can be seen in chromium.
Screenshots
(zoomed out to show that image is still there but placed incorrectly)
Desktop (please complete the following information):
OS: fedora
Browser firefox
Version 76.0 64-bit
The text was updated successfully, but these errors were encountered:
Describe the bug
I ran into a problem with the basic clipper component: The selected image is placed incorrectly onto the canvas if a ratio bigger than the ratio of the selected image is set. If e.g. a photo with an aspect ratio of 4:3 is selected and I try to set a fixed ratio for the clipper of 4:1 I can not see the image anymore because it seems to be placed too far to the left (if zoomed out completely you can usally find it again). The problem does not show up if a smaller ratio is selected than the original image has.
I only experienced the problem with firefox but not with chromium so I assume it has to do with browser compatibility.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behaviour obviously would be that the image position is not related to the selected fixed ratio value as it can be seen in chromium.
Screenshots
![vue-clipper bug](https://user-images.githubusercontent.com/63345753/100540691-11545500-323f-11eb-91f7-ebfd7527a9d1.png)
(zoomed out to show that image is still there but placed incorrectly)
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: