Skip to content

Commit 389c01e

Browse files
committed
Add a comment
1 parent 6ca4dd5 commit 389c01e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hooks/useCalculatedColumns.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ export function useCalculatedColumns<R, SR>({
178178
let width = getColumnWidth(column);
179179

180180
if (typeof width === 'number') {
181+
// if width is a number then we do not measure it so it needs to be clamped manually
181182
width = clampColumnWidth(width, column);
182183
} else {
183184
// This is a placeholder width so we can continue to use virtualization.

0 commit comments

Comments
 (0)