Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested virtual lists #415

Open
ssurve opened this issue Aug 11, 2023 · 0 comments
Open

Nested virtual lists #415

ssurve opened this issue Aug 11, 2023 · 0 comments
Labels

Comments

@ssurve
Copy link

ssurve commented Aug 11, 2023

Is there a recommended way to implement nested virtual lists?
Usecase: directory structure where each nested directory is a virtual list.

I was able to add virtual scrolling to the nested list but noticed that only the specifed number of items (controlled by prop keeps) is rendered. Height is updated correctly but I see empty space where items should be rendered.

Example:

/
  /dir_A
  /dir_B
  /dir_C

If I open dir_B, only 30 items (default keeps value) are rendered. Then there's empty space corresponding to the remaining items in dir_B. dir_C is rendered correctly at the end of the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant