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
I'm having an issue in figuring out how to make the cropper area fill the entire image after rotation. As per the docs, I've used the defaultSize prop to great results on initial image load, as you can see:
However, after rotation, the cropper area keeps the original ratio, despite the image w/h changing drastically.
TL;DR: I'd like to figure out a way to make the cropper area to fill the entire image size despite rotation.
I understand the transformImageAlgorithm prop passes the state object to the algorithm where I could find the current image proportions, but I'm having trouble understanding how I could change the cropper on rotate.
Can anyone help? Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hello,
I'm having an issue in figuring out how to make the cropper area fill the entire image after rotation. As per the docs, I've used the
defaultSize
prop to great results on initial image load, as you can see:However, after rotation, the cropper area keeps the original ratio, despite the image w/h changing drastically.
TL;DR: I'd like to figure out a way to make the cropper area to fill the entire image size despite rotation.
I understand the
transformImageAlgorithm
prop passes thestate
object to the algorithm where I could find the current image proportions, but I'm having trouble understanding how I could change the cropper on rotate.Can anyone help? Thanks in advance.
The text was updated successfully, but these errors were encountered: