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