gpui-component
gpui-component copied to clipboard
Dock example table shows duplicated rows when scrolling fast
System information:
- OS: Linux 6.16.8-amd64
- gpui version: 0.2.2
- gpui_component version: 0.4.1
- Rust version: rustc 1.91.0 (2025-10-28)
The example dock table has a row duplication issue.(exists in both v0.3.1 and v0.4.1):
In my own project, using the Table in a simple way does not cause this issue.
When quickly dragging the Table scrollbar to the bottom, it starts re-caching the first rows (0–199).
Expected behavior: Only the last rows (e.g., 4997, 4998, 4999) should be visible.
Actual behavior: It shows the last rows plus repeatedly adds rows 0–199, causing 0–199 to be appended multiple times.