-
Notifications
You must be signed in to change notification settings - Fork 684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(Table): add drag and drop rows example with useSortable integration #3700
base: v3
Are you sure you want to change the base?
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a random question, is Sortable
the most used dnd library in Vue nowadays? I like the fact that there is a VueUse wrapper but I also heard about https://drag-and-drop.formkit.com/ (never tried it though).
There is also https://github.com/Alfred-Skyblue/vue-draggable-plus which implies that SortableJS doesn't have good support for Vue3. Again, I'm just wondering here if sortable is the best library to demonstrate in our examples. |
Good question. I know I tried to find better packages for quite some time (some time ago), but haven't checked these. Is it my phone or is https://drag-and-drop.formkit.com/ really slow and laggy? I'll check it out! |
There is a React example of drag and drop for TanStack Table that uses |
Mhh, looks like they are actively working on making it work for other languages as well. clauderic/dnd-kit#1194 (comment) I'll have a better look tomorrow on my laptop. Dnd looks super promising, but I don't think there is much left then the 2 packages you shared. Additionally, all of the examples comes down to the same implementation, but from another import. |
Alright, so... Drag & Drop Libraries
I'll leave it up to you @benjamincanac to determine what you'd like to have as main library for examples. |
π Linked issue
Not sure which one to target here as some of them are for V2.
β Type of change
π Description
Add a drag and drop example for the Table component
π Checklist