James Kerr

Results 115 comments of James Kerr

Cool! Thanks for researching that.

You'll need to make sure that the parent is filling its container. It needs to have flex: 1; on it or grid-template-row 1fr or something to make it fill the...

There is now a childrenAccessor, but the isOpenAccessor is gone in version 2. The tree manages the open state internally. You can set it initially though with the `initialOpenState` prop....

I think react-pro-sidebar and react-arborist are two different solutions to the same problem. You might want to just go with one or the other. React-arborist does not support nesting in...

Maybe, you can pass a function to the childrenAccessor prop. That function gives you the node from your data. If you can figure out which level your node is, you...

I haven't actively been thinking about this. Off the top of my head we need to: 1. Be able to identify the tree from which the drag started and the...

No, there is no way to re-order with the keyboard as it stands. You can move focus, select, open, close, and activate with the keyboard.

I'm curious how that would look. Do you know of other apps that have re-ordering with keyboard?

Interesting. That sounds cool. The space key already opens/closes/activates an item already, so we'd have to make that configurable or assign another key. #57 should account for configuring what space...

I've been thinking about this for the past few days. My editor VSCode lets me move lines of text up and down by pressing control+command+up/down. That might be a good...