react-arborist
react-arborist copied to clipboard
The complete tree view component for React
Is there an example of unit tests? The only test I could find is this: https://github.com/brimdata/react-arborist/blob/main/modules/react-arborist/src/interfaces/tree-api.test.ts
Fixes #270
- Fixes #271 The behavior of ```ts return !utils.access(data, check); ``` and ```ts return !utils.access(data, check) ?? true; ``` Is identical because `false ?? true === false` and `true ??...
We're just upgrading to TypeScript 5.6 in our project, and came across a problem in the types in react-arborist: ``` node_modules/react-arborist/src/interfaces/tree-api.ts:596:12 - error TS2869: Right operand of ?? is unreachable...
I have a custom `renderDragPreview` component. If I drag a selection, I want it to show the number of dragged items. My assumption was `dragIds` prop can help with the...
Is there a way to customize the behavior of the `Enter` key e.g. by selecting the currently focused node instead of triggering the editing mode or fetch some data? I'm...
So I've looked I found this post, and with the documents for v2, I was able to get this to work some of the way... https://github.com/brimdata/react-arborist/issues/13 I'd like to have...
select(...) supports optional flag to disable focus change but selectMulti(...) doesn't. This change makes the two methods consistent. It shouldn't break existing code. I copy-pasted the align option without understanding...
just like vscode
I find it impossible to cancel the dragging event. If you change your mind while still holding the mouse button pressed, you can't go back. The item will be dropped...