moveable
moveable copied to clipboard
Invalid size of rotated element inside resized group
Environments
- Framework name: react-moveable
- Framework version: latest
- Moveable Component version: latest
- Testable Address(optional): https://codesandbox.io/s/mystifying-drake-24gep
Description
One of elements inside the group is rotated by 60deg, and when I'm resizing the group, the rotated element is behaving unexpectedly. Looks like the rotation is not taken into account while calculating new width/height of the element, and therefore resizing the entire group in an unexpected way.
Actual:
Expected:
Disclaimer: sorry, this is not a perfect example, but you should get the idea: proportions between edges should not change.
@gtanczyk
I'm sorry. group does not support the function of keepRatio false.
To use when keepRatio is false, all rotations must be the same.
Is there any news on this issue?