TanStack
OSS
table
Sign in / Sign up
Open main menu
table
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
6295
ce1e3463 fix(table-core): clamp column size to minSize/maxSize during resize drag The getResizeHandler drag loop computed new column widths without ever checking the column definition's minSize or maxSize constraints. Dragging a resize handle far left or right could push a column outside the bounds declared in columnDef, making the constraints ineffective at runtime even though column_getSize (used for committed state reads) does apply the clamp. Fix by capturing each leaf column's minSize/maxSize at drag-start time into a closure map (columnSizingConstraints), then applying Math.min(maxSize, Math.max(minSize, rawSize)) before writing into newColumnSizing. Two new tests confirm the bounds are respected for both directions.
by Shaurya Singh
S
Previous page
Previous
Next
Next page