Closed MartinMalinda closed 7 months ago
The reason why I'm specificly looking for this is because otherwise the dragging gets initiated way too easily and clicks get ignored (I have force-fallaback true to have autocroll) or selecting text in inputs can't be done.
To enable drag-and-drop functionality within a specific element, you should pass the handle
attribute.
https://alfred-skyblue.github.io/vue-draggable-plus/en/demo/handle/
perfect, thank you!
Hi!
Thank you for this library. For optimal UX I need to initiate dragging only when a specific child button is being dragged, similarly how it's done on many other sites, for example Airtable:
Notice the grid dot icon on the right side, the element is draggable only when held there.
Is there a way to implement this via vue draggable plus? An ideal solution for me would be to use some specific template slot, and if the template slot exists, the component would only initiate dragging on that child element.
Thanks a lot!