-
Notifications
You must be signed in to change notification settings - Fork 270
Description
Describe the bug
This is a bug which I believe relates to the infinite scrolling and loading of 100 items at a time. After specific actions, the dropdown doesn't render more than 100.
To Reproduce
I discovered this bug while developing my own app, but it can be reproduced on the vanilla demo
- Expand nodes until there are more than 100 visible on the drop down
- Select a node at the bottom of the tree (past the 100 mark)
- Close the dropdown and reopen
- Scroll to the bottom of the tree, it does not automatically load past the 100 items.
Expected behavior
The full tree should load as normal
Environment (please complete the following information):
- Browser Chrome Latest (Version 91.0.4472.124 (Official Build) (64-bit))
- OS: Windows x64
Additional context
It would also be useful to define how many items should be initially loaded in the dropdown tree. I know it is done to avoid loading incredibly large trees in one go, but for our usage the number only ever occasionally exceeds 100 by a few. Our tree is expanded by default and it's a bit jarring to the user for the dropdown to change width and the scrollbar to jump around as it loads more.
Thanks for your help and the useful component!