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

Position is not updating when x or y is fractional number

Open arthabus opened this issue 5 years ago • 0 comments

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

arthabus avatar Mar 12 '20 21:03 arthabus