-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
Describe the bug
When using fr or percent column widths and there is truncated text in cells, if grid resizes (zoom or window resize), width of columns expands to fit full cell content
To Reproduce
- Go to "Columns Reordering" on example website (all column widths except ID are set to 1fr)
- Inspect element -> Add text to any cell not in ID column so it does not fit and gets truncated with ellipsis
- Resize window or resize any other cell
- Column that has modified cell expands to fit the text
Expected behavior
- Columns (except ID) stay equal size and text stays truncated with ellipsis
Link to Minimal Reproducible Example
Environment
react-data-gridversion: 7.0.0-beta.58react/react-domversion: 19.1.1
Additional context
Setting overflow on .rdg-cell to "hidden" instead of "clip" seems to fix the issue, but not sure if it will break other existing features