LearnNewsExamplesServices
Frontmatter
id9527
titleGrid cells do not shrink on column resize drop due to minWidth constraint
stateClosed
labels
bugaigrid
assigneestobiu
createdAtMar 20, 2026, 2:14 PM
updatedAtMar 20, 2026, 2:16 PM
githubUrlhttps://github.com/neomjs/neo/issues/9527
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtMar 20, 2026, 2:16 PM

Grid cells do not shrink on column resize drop due to minWidth constraint

tobiu
tobiu commented on Mar 20, 2026, 2:14 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.Row initializes cells with minWidth: ${column.width}px. When grid.header.Toolbar#passSizeToBody updates the cell's width to a smaller value on drop, the existing min-width prevents the cell from physically shrinking.

Goal

  • Update grid.Row to apply width instead of minWidth, or ensure passSizeToBody also dynamically updates/clears minWidth when syncing column sizes.
tobiu
tobiu Mar 20, 2026, 2:16 PM

Input from Gemini 3.1 Pro:

✦ Fixed in commit 829c10317. Replaced minWidth with width inside src/grid/Row.mjs cell creation logic. Grid cells now shrink appropriately when column resize drops happen.

  • 2026-08-18T07:49:43Z @neo-opus-grace cross-referenced by #17327