[Feature Request/QA] Option to virtualize items by an even number, due to css even/odd problems #407
Unanswered
OmarOmeiri
asked this question in
Ideas
Replies: 1 comment 3 replies
-
Yes, using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If you have let's say a table that has CSS for even and odd rows, the virtualizer breaks the styles and the rows start flickering back and forth.
I have the following CSS
I've tried messing around with the
overscan
option, but without success.I propose adding an option like
So that the virtualizer renders elements in pairs.
The current virtualizer behavior is rendering elements one by one.
Could this be done with the current set of tools?
video.mp4
UPDATE
Solved by changing the CSS logic to:
And adding a dynamic class in the table row based on the virtualizer index:
Nevertheless, this would be a nice addition.
Beta Was this translation helpful? Give feedback.
All reactions