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

About negative value for width in my resizing callback function

Open cj635881197 opened this issue 6 years ago • 1 comments

image

Props of the VDR component instance are wrong as shown in the image, that is in my resizing callback function , the component show correctly when that was mounted in passing. Value of parentWidth is Zero when the browser loaded my view first time. But, it is correct when rezising the VDR component again after refresh the page by the refresh button in the browser. How to solve the problem please? Thank you.

cj635881197 avatar Jul 10 '19 04:07 cj635881197

Any updates on this issue? I'm currently running into the same problem. When initially loading the screen the parentWidth is 0, leading to not allowing to drag properly since my draggable object is bounded by the parent. After resizing the window the parentWidth gets set correctly and dragging works as intended inside the parent.

boehmmatthias avatar Jul 22 '20 13:07 boehmmatthias