vue-drag-resize icon indicating copy to clipboard operation
vue-drag-resize copied to clipboard

parentLimitation="true" should set <vue-drag-resize> position to relative

Open LorenzHerz opened this issue 7 years ago • 2 comments

Hey, I was playing around with your package. Apperently if you set the parentLimitation to true and shift the parent element with an e.g margin, the vue-drag-resize components limitation is set to the width and height of the parent. but the limiting border isnt moved with the parent element.

I tried to set the position to relative instead of absolute on the draggable element and had the desired behaviour :)

LorenzHerz avatar Jun 29 '18 15:06 LorenzHerz

Hi, I've found similiar bug, but in my case setting the position to relative doesn't help. The limiting border has no reactive size so icreasing size of the parent element results 'invisible border': parentlimitation

poradz avatar Sep 02 '19 06:09 poradz

Hi, I've found similiar bug, but in my case setting the position to relative doesn't help. The limiting border has no reactive size so icreasing size of the parent element results 'invisible border': parentlimitation

You can try to change parentH and parentW to change the limitation.

ztan9766 avatar Apr 22 '20 05:04 ztan9766