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.
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:
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.