Comcast / Comcast/react-data-grid

Calculated Column is incorrectly not rendered when spanning multiple columns

Open
#3,450 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 2h
Merged PRs (30d)
33

Description

## Describe the bug
When using a datagrid that includes frozen columns and multiple spanning columns, when selecting the first set of spanning columns and scrolling, the second set of spanning columns are hidden

## To Reproduce

1. shrink the window to ~850 px wide
2. click on the header cell containing '8'
3. scroll to the right on the datagrid until the '16' header cell disappears

Link to code example:
[BugTest.txt](https://github.com/adazzle/react-data-grid/files/14200464/BugTest.txt)

## Expected behavior
the spanned column should remain visible when part of it is hidden behind the frozen columns

## Environment

- `react-data-grid` version: all versions
- `react`/`react-dom` version: all versions

## Additional context

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.