I'm trying to create a tree of lists where I can reorder the list and also drag elements inside other elements and not only above and ender other elements.
but the problem is when I use react-sortable-hoc or react-beautiful-dnd I can only reorder the list of elements but I have no idea how to drag elements on another element to make them a child and parent elements.
In the following example you can I have an element with sub.
I'm trying to create a tree of lists where I can reorder the list and also drag elements inside other elements and not only above and ender other elements.
react-sortable-hoc
orreact-beautiful-dnd
I can only reorder the list of elements but I have no idea how to drag elements on another element to make them a child and parent elements.