@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/dist/index.js CHANGED
@@ -2075,7 +2075,8 @@ var GridContextProvider = function (props) {
2075
2075
  */
2076
2076
  var sizeColumnsToFit = function () {
2077
2077
  gridApiOp(function (gridApi) {
2078
- gridApi.sizeColumnsToFit();
2078
+ // Hide size columns to fit errors in tests
2079
+ document.body.clientWidth && gridApi.sizeColumnsToFit();
2079
2080
  });
2080
2081
  };
2081
2082
  var stopEditing = function () { return gridApiOp(function (gridApi) { return gridApi.stopEditing(); }); };