react-ui-tree icon indicating copy to clipboard operation
react-ui-tree copied to clipboard

Update react-ui-tree.js

Open dannav opened this issue 10 years ago • 4 comments

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.

dannav avatar Oct 17 '15 23:10 dannav

Is this the same problem with issue #13 ?

wangzuo avatar Oct 19 '15 01:10 wangzuo

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.

dannav avatar Oct 19 '15 03:10 dannav

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

dannav avatar Oct 19 '15 03:10 dannav

Whats the new feature for this pr?

wangzuo avatar Oct 20 '15 10:10 wangzuo