It can be a bit disorienting when dragging over multiple parents with a lot of children, and they all open to show their children. Is there a way to not open them, and rather highlight the parent node if we want to drop it in as a child ?
I'd also like a way to prevent auto-expanding. I've seen a good number of users get confused by this. If there was a way to turn it off then devs could manually add more advanced logic using the drag events, such as have a timeout so it pops open if hovered for more than a second.
Anyone have a work around for this?
Guys, did anyone find a solution to this problem?
+1
My workaround is to set children to an empty array if expanded is set to false. Seems to work just fine for me. This, of course, implies you're using your own function for generating the tree.
Most helpful comment
I'd also like a way to prevent auto-expanding. I've seen a good number of users get confused by this. If there was a way to turn it off then devs could manually add more advanced logic using the drag events, such as have a timeout so it pops open if hovered for more than a second.