re-resizable
re-resizable copied to clipboard
auto resize when lockAspectRatio value changes
Overview of the problem
when the lockAspectRatio prop is passed the element does resize itself accordingly but as we try to resize even slightly the element resizes itself to the correct aspect ratio. can't we trigger the same logic when lockAspectRatio prop changes ?
My browser is: chrome
I am sure this issue is not a duplicate.
Description
Steps to Reproduce
- pass lockAspectRatio prop with correct initial width and height
- programmatically change the prop value
Expected behavior
resizable to automatically adjust according to ratio and boundaries
Actual behavior
resizable does not adjust until a resize handle is moved with mouse