You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using TableVirtuoso with Tanstack Query for infinite scrolling. We're testing with Playwright. We ran into a strange bug where TableVirtuoso is only rendering the first row of a table.
These tests run fine locally on Mac OS.
If I comment out totalCount in TableVirtuoso the tests also pass on Github Actions.
Reproduction
I don't have a way of sharing our internal systems.
To Reproduce
Create an infinite scrolling table with TableVirtuoso and Tanstack Query.
Mock the API calls that return the data.
Write test in Playwright to verify the initial state of the data (in our case, Playwright's default viewport only allows for ten rows at a time).
Run the test in a GitHub action.
Expected behavior
The table to render fully.
Desktop (please complete the following information):
OS: Ubuntu Linux Github Action (running Playwright)
Browser: Chromium 128.0.6613.18
Additional context
Can anyone think of any situation where TableVirtuoso would only render the first row of a table? Why would not using totalCount cause the table to render correctly?
This discussion was converted from issue #1205 on March 06, 2025 15:17.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
We are using TableVirtuoso with Tanstack Query for infinite scrolling. We're testing with Playwright. We ran into a strange bug where TableVirtuoso is only rendering the first row of a table.
These tests run fine locally on Mac OS.
If I comment out
totalCount
inTableVirtuoso
the tests also pass on Github Actions.Reproduction
I don't have a way of sharing our internal systems.
To Reproduce
Expected behavior
The table to render fully.
Desktop (please complete the following information):
Additional context
Can anyone think of any situation where TableVirtuoso would only render the first row of a table? Why would not using
totalCount
cause the table to render correctly?Beta Was this translation helpful? Give feedback.
All reactions