cpgb85 opened this issue 3 years ago · 3 comments
is there a way to limit the depth of the tree?
Use hook prop eachDroppable, calc dragging node's depth and hoveing node's depth, return boolean to control if droppable.
eachDroppable
and how do i do this? you have almost no code examples
I recommend using he-tree. There is a prop for that: maxLevel