mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.33k stars 559 forks source link

Wrong position #324

Open do-web opened 3 years ago

do-web commented 3 years ago

I have two dragable elements, each inside a own container, both element are axis="x" but when i drag a the lower item, it moves in the y direction. And its only with :parent="true"

Transform also is wrong - transform: translate(0px, -82px);

do-web commented 3 years ago

Bildschirmfoto 2021-10-02 um 23 53 32

Maybe this will work...

louisraetz commented 3 years ago

set child or childs to position: absolute and provide a static width/height for the parent container. This should fix your issue.