react-ui-tree
react-ui-tree copied to clipboard
Update react-ui-tree.js
I don't think this is necessary. I may want to move a node under another if it's collapsed. Also this prevents moving any nodes without children under another in the same tree node.
Is this the same problem with issue #13 ?
I'm sorry I should have been more explicit. Yes this change allows you to add nodes to leaf nodes so it should fix that user's problem as well.
I've also added a prop to define a tree as static to prevent manipulation if a user just wants to display the structure which would resolve issue #6
Whats the new feature for this pr?