Grouped column header does not freeze when scrolling horizontally

Open
#3,531 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start with the linked CodeSandbox reproduction using react-data-grid 7.0.0-beta.44 and React 18.2, then trace how grouped headers handle frozen columns during horizontal scrolling. Verify the fix by confirming that a grouped header with frozen=true remains aligned with and moves with its child columns.

Written by the indexing model from the issue text.

Description

Describe the bug

Grouped column header didn't freeze despite it has property frozen=true

To Reproduce

Link to code example:
https://codesandbox.io/p/sandbox/rdg-bug-frozen-column-qy7hyh

Expected behavior

Grouped column header is frozen and moves with the child columns

Environment

  • react-data-grid version: 7.0.0-beta.44
  • react/react-dom version: 18.2

Additional context

Dominant language
TypeScript
Stars
7.7k
Forks
2.2k
Avg merge
1d 10h
Merged PRs (30d)
30

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Comcast/react-data-grid

All issues in Comcast/react-data-grid

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.