anish2690 / vue-draggable-next

Vue 3 drag-and-drop component
https://vue-draggable-next.vercel.app
MIT License
508 stars 45 forks source link

Is there a way to get drag and drop on a the x axis? #17

Closed LovelyAndy closed 3 years ago

LovelyAndy commented 3 years ago

I have tried to work with this with flex rows, but to no avail. Is there a way to have this display on horizontal line and drag/drop them the exact same? Cheers on the great library though!

heyharmon commented 3 years ago

@LovelyAndy did you find a solution?

LovelyAndy commented 3 years ago

@heyharmon It works with just using flexbox. I felt real stupid after this, but I'm currently working with a multi-row grid and the draggable class is flex with flex-wrap. Hopefully that helps!

heyharmon commented 2 years ago

@LovelyAndy Awesome, I also got it working with flexbox. And, I also felt stupid afterwards. Easy!