Closed Herz3h closed 4 years ago
Ok I misused the library. I should specify parent element of what I want to be draggable/droppable.
Unfortunately even with that, my elements get dropped BEFORE instead of ON TOP OF the element I want.
Little google searching sent me here and apparently dragula doesn't support absolute positioning. Unfortunate.
Create an img draggable, and a droppable img and try to drag into the droppable area.
It's somehow not working. Here is an example:
https://codepen.io/Herz3h/pen/LYPQvvj