Comcast / Comcast/react-data-grid

Columns not always resizing correctly on window resize

Open
#3,249 2 comments 3 reactions 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
Sometimes columns are not resizing correctly when window is resized.

https://github.com/adazzle/react-data-grid/assets/12126557/a64d86c1-f254-4905-8045-c889eeb216ab

## To Reproduce

See video

## Expected behavior
Columns resizing correctly.

## Environment

- `react-data-grid` version: `7.0.0-beta.31`
- `react`/`react-dom` version: `18.2.0`

## Additional context
It's easier to reproduce with developer tools opened. Its harder to reproduce with regular window resize, but also possible. Is there any workaround to manually force columns to resize?

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.