Dragula: Drag and drop so simple it hurts
github.com
github.com
In our current app my team is working on (Angular 2), I ended up homebrewing selection and drag & drop modules, which I hopefully will take the time to open source at some point when things slow down. It was an interesting exercise, with some work for getting the UX done right (some aspects such as what should happen when the user drags a little on the mouse while holding it down - just dragging as soon as the mousedown event occurs is no good because it turns out users typically will move the mouse a little when pressing the mousedown for a click). It made me appreciate any site that implements non-trivial drag and drop, it is not an easy interaction to get right.
apart from that I don't really like the fixed object list or callback to define which nodes can and cannot accept stuff, I find more pleasant to maintain the interact.js approach of using classess (and they do work on mobile out of the box)
EDIT: Notice that the guidelines say "New features and upgrades ("Foo 1.3.1 is out") generally aren't substantive enough to be Show HNs. A major overhaul is probably ok.". The latest commit in this repository is from Sep 12, there has not been a significant release so if we want to stick to the "rules" this post should actually be deleted, but then people will say "Oh! But this is the first time I see this project, yada yada" that is why it got upvoted, because there is still people new to this library. Not that I am complaining, just saying that there is nothing noteworthy today about this project that requires a "Show HN" tag. I suppose the author posted this the +10th time simply because he does not wants his project to be forgotten, which is fine I guess.
[1] https://hn.algolia.com/?query=https://github.com/bevacqua/dr...
https://news.ycombinator.com/showhn.html
Just has to be an author.