publ-echo-test 0.0.151 → 0.0.153
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.
@@ -437,6 +437,25 @@ var GroupItem = function (_a) {
|
|
437
437
|
onContextMenu: function (e) {
|
438
438
|
onContextGroup(e);
|
439
439
|
},
|
440
|
+
onMouseDown: function (e) {
|
441
|
+
if (isDragging || isResizing) {
|
442
|
+
return;
|
443
|
+
}
|
444
|
+
// 일시적으로 pointer-events 비활성화
|
445
|
+
if (elementRef.current) {
|
446
|
+
elementRef.current.style.pointerEvents = 'none';
|
447
|
+
}
|
448
|
+
// 현재 마우스 위치에서 실제 요소 찾기
|
449
|
+
var underlyingElement = document.elementFromPoint(e.clientX, e.clientY);
|
450
|
+
// pointer-events 복구
|
451
|
+
if (elementRef.current) {
|
452
|
+
elementRef.current.style.pointerEvents = 'auto';
|
453
|
+
}
|
454
|
+
if (underlyingElement &&
|
455
|
+
underlyingElement.classList.contains('react-grid-item')) {
|
456
|
+
underlyingElement.classList.add('hovered');
|
457
|
+
}
|
458
|
+
},
|
440
459
|
});
|
441
460
|
// newChild = mixinResizable(newChild, pos, isResizable);
|
442
461
|
newChild = mixinDraggable(newChild, isDraggable);
|
@@ -567,7 +567,8 @@ var ReactGridLayout = function (_a) {
|
|
567
567
|
var zOrder = (_a = block[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal']) !== null && _a !== void 0 ? _a : 0;
|
568
568
|
var editorZIndex = (function () {
|
569
569
|
if (isInBulk) {
|
570
|
-
return zIndexMap.EDITING_GROUP_CHILD + z;
|
570
|
+
// return zIndexMap.EDITING_GROUP_CHILD + z;
|
571
|
+
return z;
|
571
572
|
}
|
572
573
|
if (!isRoot && editable) {
|
573
574
|
return zIndexMap.EDITING_GROUP_CHILD + z;
|