-
-
Notifications
You must be signed in to change notification settings - Fork 221
auto resize when lockAspectRatio value changesΒ #785
Copy link
Copy link
Open
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels