react-vtree icon indicating copy to clipboard operation
react-vtree copied to clipboard

React component for efficiently rendering large tree structures

Results 21 react-vtree issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi, I encountered one scenario - - Let's say we have four nested nodes. Expand the nodes one by one till the last nested children. - Now, collapse at the...

TS v4.4 brought in modifications to lib dom type defintions ([reference](https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1029)). These conflict with the types declared for `requestIdleCallback` and `cancelIdleCallback` on global window [here](https://github.com/Lodin/react-vtree/blob/master/src/utils.ts#L27): ```typescript declare global { const...

I'm trying to give my rows alternate "striped" colors. Using `:nth-child(2n + 1)` is not great because you get a weird effect as you scroll as items are added and...

prevent requestIdleCallback from being called when it is undefined see [#87 ](https://github.com/Lodin/react-vtree/issues/87#issue-1186622030) for context

# Description: [Safari doesn't officially support](https://caniuse.com/?search=requestIdleCallback) the `requestIdleCallback` api yet (can be enabled via experimental WebKit features). The `requestIdleCallback` api is still [under consideration](https://webkit.org/status.html#feature-requestidlecallback) by WebKit. ## Example: ![image](https://user-images.githubusercontent.com/12819403/160868691-82df450c-f25d-421d-b263-8d092158ab25.png) #...

Hi @Lodin , I am working on the project. So the problem here are - 1. Rendering of giant data of nodes in tree (approx. 2k-3k) 2. Have filter &...

I am considering to use react-vtree, with react 17. However, 3.0.0 version is under pre-release. Are there plans to release it soon?

This type needs to be exposed in order to properly type custom node components, see issue #81

The `children` prop is typed as `NodeComponentProps` on [TreeProps](https://github.com/Lodin/react-vtree/blob/4a690709e35e1ad2029f1dcc46ca8366cd81b524/src/Tree.tsx#L131), however the type is not exported. Only `TreeWalker` and `TreeWalkerValue` types get exported from `./Tree` as you can see [here](https://github.com/Lodin/react-vtree/blob/4a690709e35e1ad2029f1dcc46ca8366cd81b524/src/index.ts#L3) In...

I'm using `3.0.0-beta.1`. It seems that my provided `treeWalker` generator is being walked to visit _every_ node in the tree, even though most of the nodes are not visible (collapsed)....