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
scrolling through the table won't append new rows.
The exact height is dependent on various factors like page zoom. I tested (and found) the issue in Chrome, Firefox and Safari. Note that Safari may still load new rows on the first scroll.
Demonstration:
Kapture.2023-03-04.at.11.57.18.mp4
The text was updated successfully, but these errors were encountered:
Reproduction: https://observablehq.com/d/686eb071dc56c459. For me, it breaks at ≥ 379px tall, and above ~555px you can see even before you try to scroll that only the first page has loaded.
A fix might be to attach an IntersectionObserver to the last row and have that trigger appendRows() for the next chunk.
mootari
changed the title
Table rows don't materialize on scroll if height is too large
Table rows don't get appended on scroll if height is too large
Mar 7, 2024
Given a table with a fixed height
scrolling through the table won't append new rows.
The exact height is dependent on various factors like page zoom. I tested (and found) the issue in Chrome, Firefox and Safari. Note that Safari may still load new rows on the first scroll.
Demonstration:
Kapture.2023-03-04.at.11.57.18.mp4
The text was updated successfully, but these errors were encountered: