publ-echo 0.0.109 → 0.0.111
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.
|
@@ -410,6 +410,12 @@ var GridItem = function (_a) {
|
|
|
410
410
|
cssTransforms: useCSSTransforms,
|
|
411
411
|
}),
|
|
412
412
|
style: __assign(__assign(__assign({}, props.style), child.props.style), createStyle(pos)),
|
|
413
|
+
onClick: function (event) {
|
|
414
|
+
var _a;
|
|
415
|
+
if ((_a = child.props.className) === null || _a === void 0 ? void 0 : _a.includes('not-editable-grid-item')) {
|
|
416
|
+
event.preventDefault();
|
|
417
|
+
}
|
|
418
|
+
},
|
|
413
419
|
});
|
|
414
420
|
newChild = mixinResizable(newChild, pos, isResizable);
|
|
415
421
|
newChild = mixinDraggable(newChild, isDraggable);
|
|
@@ -571,7 +571,7 @@ var ReactGridLayout = function (_a) {
|
|
|
571
571
|
return zIndexMap.EDITING_GROUP_CHILD + z;
|
|
572
572
|
}
|
|
573
573
|
if (!isRoot && isInsideOfEditingGroup) {
|
|
574
|
-
return zIndexMap.EDITING_GROUP_CHILD +
|
|
574
|
+
return zIndexMap.EDITING_GROUP_CHILD + z;
|
|
575
575
|
}
|
|
576
576
|
if (isRoot && editable) {
|
|
577
577
|
return zIndexMap.ROOT + z;
|