-
| I'm trying to add virtualization to a Table that has inconsistent row heights due to cells with text wrap. When all the columns are in view, the virtualization works as well as it could by using Since my Table has a fixed number of columns and many rows, most of the performance benefit comes from the vertical virtualization. I tried a custom |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
| I've come up with a custom Unfortunately since |
Beta Was this translation helpful? Give feedback.
I've come up with a custom
TableLayoutthat manages to disable the horizontal virtualization by modifyingbuildRowandaddVisibleLayoutInfos: https://codesandbox.io/p/devbox/delicate-wave-forked-ln48c2Unfortunately since
setChildHeightsandaddVisibleLayoutInfosare marked asprivatein the@react-stately/layoutclass, I ended up copy-pasting the entire implementation rather than extending the exported class.