publ-echo-test 0.0.170 → 0.0.171
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.
@@ -39,15 +39,6 @@ var GridItem = function (_a) {
|
|
39
39
|
var _r = useState(false), pointerEventsNone = _r[0], setPointerEventsNone = _r[1];
|
40
40
|
var elementRef = useRef(null);
|
41
41
|
var isSelected = (_b = elementRef.current) === null || _b === void 0 ? void 0 : _b.classList.contains('react-grid-item-selected');
|
42
|
-
// useLayoutEffect(() => {
|
43
|
-
// if (elementRef.current && isSelected) {
|
44
|
-
// elementRef.current.scrollIntoView({
|
45
|
-
// behavior: 'smooth',
|
46
|
-
// block: 'center',
|
47
|
-
// inline: 'center',
|
48
|
-
// });
|
49
|
-
// }
|
50
|
-
// }, [isSelected]);
|
51
42
|
useEffect(function () {
|
52
43
|
var _a;
|
53
44
|
if (!isSelected || !autoResize) {
|
@@ -671,7 +671,6 @@ var ReactGridLayout = function (_a) {
|
|
671
671
|
var childrenIds = findAllChildrenCbIds(blockStructure, block.blockId).map(function (i) { return i.toString(); });
|
672
672
|
var groupItem = getBoundingArea(layout, childrenIds);
|
673
673
|
if (!groupItem) {
|
674
|
-
console.log('no -group-item, blockid: ', block.blockId);
|
675
674
|
return _jsx(_Fragment, {});
|
676
675
|
}
|
677
676
|
var zOrder = (_a = block[device === 'DESKTOP' ? 'zOrderDesktopInternal' : 'zOrderMobileInternal']) !== null && _a !== void 0 ? _a : 0;
|
@@ -685,7 +684,7 @@ var ReactGridLayout = function (_a) {
|
|
685
684
|
return zIndexMap.EDITING_GROUP;
|
686
685
|
}
|
687
686
|
if (isBulk) {
|
688
|
-
return zIndexMap.EDITING_GROUP_CHILD +
|
687
|
+
return zIndexMap.EDITING_GROUP_CHILD + groupItem.z;
|
689
688
|
}
|
690
689
|
if (isInBulk) {
|
691
690
|
// 위와 같지만 이것은 not-editable이긴 함.
|