James Kerr

Results 217 comments of James Kerr

I may need to see more of your code to uncover the issue. I do see that when you drag the first child node "under itself" the index is 1....

@davidnaas What if you move your cursor further left before dropping?

Yes, we can certainly remove that console.log. And yes, we can add a .blur() method on the tree. I'm not sure whether it should return focus to the tree container,...

You can also remove focus by simply focusing on a different element. Is it a styling concern? If you are styling the nodes with .isFocused, you can change the css...

I removed that console.log in this PR: https://github.com/brimdata/react-arborist/pull/79

Hello world, I apologize for the silence. I know it's difficult to depend on a package that is not being paid attention to properly. I wrote the package a few...

I just published a small release with some of the changes in the last few months. It appears I will have some time to work on react-arborist in the coming...

I would imagine in your node renderer, you could run a check that looks through all the children in the node to see if they are selected. If some but...

Thanks @hipstersmoothie I'll check this out soon.

I don't believe so. You'll need to provide the data prop and implement the data modification handlers. However, there is some code already written that you can use as inspiration...