vue-drag-resize
vue-drag-resize copied to clipboard
parentLimitation="true" should set <vue-drag-resize> position to relative
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 :)
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':

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':
You can try to change parentH and parentW to change the limitation.