@linzjs/step-ag-grid 27.3.0 → 27.3.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.
@@ -667,9 +667,10 @@ const clickInputWhenContainingCellClicked = (params) => {
667
667
  if (!cell)
668
668
  return;
669
669
  const input = cell.querySelector('input, button');
670
- if (!input)
670
+ if (!input) {
671
671
  return;
672
- input?.dispatchEvent(event);
672
+ }
673
+ input.dispatchEvent(event);
673
674
  };
674
675
  setTimeout(clickInput, 20);
675
676
  };
@@ -3220,7 +3221,9 @@ const Grid = ({ 'data-testid': dataTestId, defaultPostSort = true, rowSelection
3220
3221
  }
3221
3222
  return false;
3222
3223
  },
3223
- onCellClicked: clickInputWhenContainingCellClicked,
3224
+ onCellClicked: params.enableSelectionWithoutKeys || params.enableClickSelection
3225
+ ? undefined
3226
+ : clickInputWhenContainingCellClicked,
3224
3227
  } }) })] }));
3225
3228
  };
3226
3229