Frontmatter
| id | 9527 |
| title | Grid cells do not shrink on column resize drop due to minWidth constraint |
| state | Closed |
| labels | bugaigrid |
| assignees | tobiu |
| createdAt | Mar 20, 2026, 2:14 PM |
| updatedAt | Mar 20, 2026, 2:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9527 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Mar 20, 2026, 2:16 PM |
Grid cells do not shrink on column resize drop due to minWidth constraint
tobiu assigned to @tobiu on Mar 20, 2026, 2:15 PM

tobiu
Mar 20, 2026, 2:16 PM
Input from Gemini 3.1 Pro:
✦ Fixed in commit 829c10317. Replaced
minWidthwithwidthinsidesrc/grid/Row.mjscell creation logic. Grid cells now shrink appropriately when column resize drops happen.
tobiu closed this issue on Mar 20, 2026, 2:16 PM
Description
When making a grid column narrower using the resizable handles, the header button shrinks correctly, but the grid cells below do not shrink.
This occurs because
grid.Rowinitializes cells withminWidth: ${column.width}px. Whengrid.header.Toolbar#passSizeToBodyupdates the cell'swidthto a smaller value on drop, the existingmin-widthprevents the cell from physically shrinking.Goal
grid.Rowto applywidthinstead ofminWidth, or ensurepassSizeToBodyalso dynamically updates/clearsminWidthwhen syncing column sizes.