@linzjs/step-ag-grid 2.4.8 → 2.4.9

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": "2.4.8",
5
+ "version": "2.4.9",
6
6
  "keywords": [
7
7
  "aggrid",
8
8
  "ag-grid",
@@ -223,7 +223,8 @@ export const GridContextProvider = (props: GridContextProps): ReactElement => {
223
223
  */
224
224
  const sizeColumnsToFit = (): void => {
225
225
  gridApiOp((gridApi) => {
226
- gridApi.sizeColumnsToFit();
226
+ // Hide size columns to fit errors in tests
227
+ document.body.clientWidth && gridApi.sizeColumnsToFit();
227
228
  });
228
229
  };
229
230