Skip to content

fix: columns resize sync #5058

fix: columns resize sync

fix: columns resize sync #5058

Triggered via pull request March 3, 2025 09:36
Status Failure
Total duration 1m 16s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
test
Process completed with exit code 1.
test: src/hooks/useColumnWidths.ts#L61
React Hook useLayoutEffect contains a call to 'setResizedColumnsToMeasure'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [gridWidth, resizedColumnsToMeasure, columnsToMeasure, gridRef, setResizedColumnWidths, columns, onColumnResize, updateMeasuredWidths] as a second argument to the useLayoutEffect Hook