anish2690 / vue-draggable-next

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

Single-Axis Dragging #59

Closed HacMan137 closed 10 months ago

HacMan137 commented 1 year ago

It would be really nice to restrict the dragging to either the x or y axis depending on the use-case. Using this library for a mobile app project in quasar and it's a little awkward being able to freely drag the list items anywhere. If I could restrict it to only tracking the y-axis that would make things much cleaner.

anish2690 commented 10 months ago

@HacMan137 At this point features are limited what can be possible with sortable JS.