Tree component for React with ability to drag-and-drop items throughout the tree. Based on an example from dnd-kit (https://github.com/clauderic/dnd-kit).
To make this work with multiple containers, would likely require that user could write handle code for DNDcontext's onDragOver -event. For now, I guess the only even that user may write handler to is onDragEnd (=onItemsChanged). Thus making this work with multiple containers is harder.
So, as a feature request: some kind of support for multiple containers
To make this work with multiple containers, would likely require that user could write handle code for DNDcontext's onDragOver -event. For now, I guess the only even that user may write handler to is onDragEnd (=onItemsChanged). Thus making this work with multiple containers is harder. So, as a feature request: some kind of support for multiple containers