@linzjs/step-ag-grid 28.5.0 → 28.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/components/Grid.tsx
CHANGED
|
@@ -273,7 +273,10 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
|
|
|
273
273
|
needsAutoSize.current = true;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
|
-
if (
|
|
276
|
+
if (
|
|
277
|
+
needsAutoSize.current ||
|
|
278
|
+
(!hasSetContentSize.current && (sizeColumns === 'auto' || sizeColumns === 'auto-skip-headers'))
|
|
279
|
+
) {
|
|
277
280
|
needsAutoSize.current = false;
|
|
278
281
|
setInitialContentSize();
|
|
279
282
|
}
|