Relative Content

Tag Archive for javascriptsortablejs

SortableJS – Drag element into sibling as a child

I’m new to using SortableJS, so I’m not sure if this is by design or if I’m doing it wrong.

I can drag elements to be children of elements that already have at least one child element, but I cannot drag them into elements that don’t have any children. And if I drag all the elements out of an element so that it has none, I cannot drag them back into that element again.