@linzjs/step-ag-grid 22.2.1 → 22.2.2

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.
@@ -2341,13 +2341,12 @@ const clickInputWhenContainingCellClicked = (params) => {
2341
2341
  const { data, event, colDef } = params;
2342
2342
  if (!data || !event)
2343
2343
  return;
2344
- if (fnOrVar(colDef.editable, params) === false) {
2345
- return;
2346
- }
2347
2344
  const element = event.target;
2348
2345
  // Already handled
2349
- if (["BUTTON", "INPUT"].includes(element?.tagName) && element.closest(".ag-cell-inline-editing"))
2346
+ if (element.closest(".GridCell-readonly") ||
2347
+ (["BUTTON", "INPUT"].includes(element?.tagName) && element.closest(".ag-cell-inline-editing"))) {
2350
2348
  return;
2349
+ }
2351
2350
  const row = element.closest("[row-id]");
2352
2351
  if (!row)
2353
2352
  return;