Columns not always resizing correctly on window resize
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react, typescript
- Domain
- frontend
Research direction
Start by reproducing the resize behavior in react-data-grid 7.0.0-beta.31, first with developer tools open and then with a normal window resize. Trace the column sizing path to identify why updates are missed; done means columns consistently resize in both scenarios and the behavior is covered by a regression check.
Written by the indexing model from the issue text.
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-gridversion:7.0.0-beta.31react/react-domversion: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?
- Dominant language
- TypeScript
- Stars
- 7.7k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 22
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Comcast/react-data-grid
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Comcast/react-data-grid#4045 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Comcast/react-data-grid#4184 ·
Maintainers usually reply within 1 day
-
[Bug] Duplicate frozen column elements in DOM and key collision warning when enableVirtualization={false}Possibly taken @nstepien claimed this 65 days ago. Open
Comcast/react-data-grid#4120 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Comcast/react-data-grid#4004 · 4 comments ·
Maintainers usually reply within 1 day
-
Pinned Rows APIOpen
Difficulty 5/5 Over a week Newbie friendliness 35/100
Comcast/react-data-grid#3940 ·
Maintainers usually reply within 1 day
All issues in Comcast/react-data-grid
Similar issues
-
enhancement providers-api ui-dashboard
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
external-issue to-triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
needs triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
homarr-labs/homarr#6976 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day