Replies: 2 comments 8 replies
-
@cbroome That's by design. As you scroll up or down, it'll render the remaining rows. Rendering every single row slows the page down. The user cannot see beyond 100 records in most cases anyway. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I just checked the docs page: |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
I have a large data set I'm loading into the select tool at one time, there's about 20 parent nodes, but each parent can have thousands of children. When expanding such a parent only 100 rows will be displayed at any time, this includes parents and children. There seems to be no way to get the remainder of the rows to display properly.
Looking at the code briefly it seems this is an issue with the infinite scroll plugin and not calculating the total number of nodes properly.
To Reproduce
Please include steps to reproduce the behavior;
I set up an example here:
https://codesandbox.io/s/using-bootstrap-styles-with-react-dropdown-tree-select-forked-9nkwb?file=/index.js
I used md5s to obscure the names but you'll notice that expanding the second parent node will remove the following parent nodes and only render a subset of the children.
Expected behavior
All child rows should be visible if not scrollable. Parent nodes should always be visible.
Environment (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions