kutlugsahin / smooth-dnd

drag and drop library for javascript
MIT License
598 stars 146 forks source link

Support for drop indicator #51

Open philippkuehn opened 5 years ago

philippkuehn commented 5 years ago

I would like to build something like this (it's from notion)

Jun-03-2019 13-43-46

But it seems that it's not possible at the moment with this library, right? I figured out two problems here:

  1. Support for a drop indicator. Maybe there could be a class for all .smooth-dnd-draggable-wrapper items like .smooth-dnd-drop-before and .smooth-dnd-drop-after.

  2. Support for leaving the dragged item on it's original position utils it's dropped anywhere