@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
@@ -2,7 +2,7 @@
2
2
  "name": "@linzjs/step-ag-grid",
3
3
  "repository": "github:linz/step-ag-grid.git",
4
4
  "license": "MIT",
5
- "version": "28.5.0",
5
+ "version": "28.5.1",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -273,7 +273,10 @@ export const Grid = <TData extends GridBaseRow = GridBaseRow>({
273
273
  needsAutoSize.current = true;
274
274
  }
275
275
  }
276
- if (needsAutoSize.current || (!hasSetContentSize.current && sizeColumns === 'auto')) {
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
  }