Closed calvin44 closed 2 years ago
I'm experiencing this issue and was forced to downgrade to v2.3.1 as well.
Hey,
The setup has worked accidentally so far. It's not something that the library is designed to support at the moment. In fact, React itself gives you a very descriptive error about invalid markup. Cleaning up the tables yields a working example.
I'm going to close this issue. If you feel like supporting tables is something you want to contribute towards or sponsor, contact me.
thank you for your answer, but can I know the reason why it worked fine in v2.3.1?
It worked because of an insufficient scrollTop
tracking logic that did not take into account list resizing.
@calvin44 @jhg023 2.5.0 includes a proper table support - https://virtuoso.dev/hello-table/
Describe the bug The list is rendered only half, the other half is empty
Reproduction https://codesandbox.io/s/react-virtuoso-test-huvxl?file=/src/App.js
To Reproduce Steps to reproduce the behavior: click add item button to add more items to the list the full list is not rendered
Expected behavior It should be rendered normally till the end
Screenshots
Additional context It worked fine in v2.3.1