vue-draggable-resizable
vue-draggable-resizable copied to clipboard
Position is not updating when x or y is fractional number
Consider the following example:
<vue-draggable-resizable
:w="width"
:h="height"
:x="left"
:y="top"
<p>Content</p>
</vue-draggable-resizable>
Now in code:
this.x = 10 //this works and the vue-draggable-resizable updates it's position
this.x = 200.2322 //vue-draggable-resizable doesn't react to this since the number is not integer
Expected: the position of the element would change despite of if the number is integer or double