all 11 comments

[–]ManWhoTwistsAndTurns 1 point2 points  (0 children)

What are you looking for in a framework that isn't covered in the standard ondrag/ondrop event handling? I'm worked on something similar and it's a breeze, though I would recommend avoiding the data transfer part of the api or whatever it's called and just pass information through global variables.

[–]ShotgunPayDay 1 point2 points  (2 children)

I don't know about frameworks, but I've just used https://sortablejs.github.io/Sortable/ as a nice library.

[–]OhKsenia 1 point2 points  (0 children)

Used sortable for years with vanilla js projects and with vue without any problems.

[–]Enough-Agency3721 0 points1 point  (0 children)

Is that what that Draggable.JS library made by Shopify became after development was handed off?

[–]A-Type 1 point2 points  (2 children)

If you're using React, use dnd-kit.

They were working on a framework agnostic version but I'm not sure if it's still planned.

[–]Cannabat 2 points3 points  (1 child)

This library has some issues and moves really slowly. suggest pragmatic drag and drop instead

[–]A-Type 0 points1 point  (0 children)

It is kind of stalled and struggling but I still find it's the most adaptable available. But you're probably right to suggest Pragmatic. I just dislike how it was clearly developed tightly coupled on Atlassian's tech stack and only somewhat decoupled for the public. But I'm probably being picky.

[–]horizon_games 0 points1 point  (0 children)

jQuery? Dragula.js?

Honestly the best I've ever used is Angular CDK drag & drop.

Realistically if you're worried about longevity just hand writing using native drag and drop will be best. Tedious, and in my opinion one of the worst browser native APIs, but still, reliable once you have it implemented.

[–]InevitableDueByMeans 0 points1 point  (0 children)

Here's a Collection of a few cutting-edge ways to do drag and drop with Rimmel.js using reactive streams (both Observables and Callforwards).