Release 5.13.1
·
11 commits
to main
since this release
Fixed
-
Virtualization height computation. This is a well know issue on Tanstack virtualizer package.
When using virtualization, assign to your table the following css:root { --your-pseudo-height--variable: 0px; } table::after { content: ""; display: block; height: var(--your-pseudo-height--variable); } ```css and use the `onPseudoHeightChange` to set it on your side ```tsx <ReactDataTable<T> ... onPseudoHeightChange={(height) => document.documentElement.style.setProperty("--your-pseudo-height--variable", `${height}px`)} />