vue-draggable-resizable icon indicating copy to clipboard operation
vue-draggable-resizable copied to clipboard

width and height not working well with lock-aspect-ratio

Open jlopez0313 opened this issue 3 years ago • 1 comments

When :lock-aspect-ratio is true, w and h doesn't get values what i'm assigning, specially w. In my case, item.width and item.height are equals to 200. top and left are equals to 0:

<vue-draggable-resizable 
:lock-aspect-ratio="true"
:x="item.top"
:y="item.left"
:w="item.width"
:h="item.height"
...
>

jlopez0313 avatar Jan 27 '22 18:01 jlopez0313