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

Virtualisation fail ? Why invisible content is added to my list ? #1821

Open
Bartaf83 opened this issue Jul 4, 2023 · 0 comments
Open

Virtualisation fail ? Why invisible content is added to my list ? #1821

Bartaf83 opened this issue Jul 4, 2023 · 0 comments

Comments

@Bartaf83
Copy link

Bartaf83 commented Jul 4, 2023

The rowRenderer in my List returns a tbody.
My list is made of tbodies with many TRs inside each of them.
The height of each TR depends on its content which means the TRs and tbodies have variable heights.

Here is a Demo I made in stackblitz

Here are the heights of the tbodies of the table in that demo by index :
0 => 26538px
1=>26610px
2=>26862px
3 => 26538px
4 => 25224px

The viewport is only 426px height.

Why in the initial display I'm getting all of the 4 tbodies added to the dom if just the first one is already heigher than the viewport ?

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

No branches or pull requests

1 participant