When aspectRatio is set to true and you try and resize the element, it works like a charm. Until one of element's sides reaches the parent boundary. Then something strange happens: it either stops resizing or if you move the element outside the parent and try to resize it, the element pops back inside the parent box.
The issue can be reproduced on the official example page.
Unfortunately, I couldn't find any solution. And attempts to recreate custom aspectRatio failed miserably.
When aspectRatio is set to true and you try and resize the element, it works like a charm. Until one of element's sides reaches the parent boundary. Then something strange happens: it either stops resizing or if you move the element outside the parent and try to resize it, the element pops back inside the parent box.
The issue can be reproduced on the official example page.
Unfortunately, I couldn't find any solution. And attempts to recreate custom aspectRatio failed miserably.
https://user-images.githubusercontent.com/51247307/163627569-73d5088c-2fbd-418d-a3da-d4c28eb009a3.mp4