anish2690 / vue-draggable-next

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

Dragging doesn't work with tr tags #54

Open fukata opened 1 year ago

fukata commented 1 year ago

Thank you for your wonderful library!

In another issue, I found that tr tags can also be dragged.

https://github.com/anish2690/vue-draggable-next/issues/23

However, I actually changed the demo and added a sample that drags the tr tag, but I couldn't drag it.

Do you have any problems with this?

The repository and branch to be reproduced are as follows.

https://github.com/fukata/vue-draggable-next/tree/reproduce-can-not-drag-table-tr

The fix commit is below.

https://github.com/fukata/vue-draggable-next/commit/c179f3ece8b521a969217d721086d9b162fa6cfb

that's all, thank you very much.