glideapps / glideapps/glide-data-grid

Bg override for columns does not properly fill off-screen blank cells

Open
#998 1 comment 0 reactions 0 assignees View on GitHub
good first issue package:core type:bug
Dominant language
TypeScript
Stars
5.3k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:
1. Set the table height to 100%.
2. Ensure the number of rows is fewer than the available height (so no vertical scroll is rendered).
3. Override `bgCell` for the columns (see [this commit](https://github.com/mir4a/glide-data-grid/pull/1/commits/bae84b9233df404023a337a3b8581cd152d953ec) for the reference)
4. Ensure there is a horizontal scrollbar.
5. Scroll left-right

Screenshots:
1. The first render is correct. You can see that the cells in the blank rows are painted with the custom color as expected:
Screenshot 2024-09-23 at 18 06 48
2. However, after scrolling left and right, the off-screen area has a painting issue:
Screenshot 2024-09-23 at 18 07 04
Screenshot 2024-09-23 at 18 07 14

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.