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
When trying to scale box from corners like topleft, topright, bottomleft, bottomright, it should scale with actual aspect ratio of box but it is getting stretched OR changing the aspect ratio of element.
Expected behavior
When scaled from corners it should scale box OR image based on the actual aspect ratio of image/box.
Actual behavior
Currently, it is changing the aspect ratio of image/box when scaled from corners.
The text was updated successfully, but these errors were encountered:
Overview of the problem
I'm using react-rnd version 10.3.5
My browser is: Chrome
I am sure this issue is not a duplicate.
Reproduced project
https://codesandbox.io/s/magical-hugle-7xn45s?file=/src/index.js
Description
When trying to scale box from corners like topleft, topright, bottomleft, bottomright, it should scale with actual aspect ratio of box but it is getting stretched OR changing the aspect ratio of element.
Expected behavior
When scaled from corners it should scale box OR image based on the actual aspect ratio of image/box.
Actual behavior
Currently, it is changing the aspect ratio of image/box when scaled from corners.
The text was updated successfully, but these errors were encountered: