publ-echo 0.0.70 → 0.0.71
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.
|
@@ -41,6 +41,9 @@ var GridItem = function (_a) {
|
|
|
41
41
|
var _p = useState(false), isResizing = _p[0], setIsResizing = _p[1];
|
|
42
42
|
var elementRef = useRef(null);
|
|
43
43
|
var _q = useResizeObserver([isDragging, isResizing]), contentHeight = _q.contentHeight, contentWidth = _q.contentWidth, gridItemHeight = _q.gridItemHeight, gridItemWidth = _q.gridItemWidth;
|
|
44
|
+
if (activeResizeObserver) {
|
|
45
|
+
console.log('h,w: ', contentHeight, contentWidth);
|
|
46
|
+
}
|
|
44
47
|
useEffect(function () {
|
|
45
48
|
if (isDragging || isResizing) {
|
|
46
49
|
return;
|
|
@@ -354,6 +357,10 @@ var GridItem = function (_a) {
|
|
|
354
357
|
callbackData.handle = 'se';
|
|
355
358
|
}
|
|
356
359
|
}
|
|
360
|
+
if (activeResizeObserver) {
|
|
361
|
+
console.log('shouldResize', shouldResize);
|
|
362
|
+
console.log('shouldBlock', shouldBlock);
|
|
363
|
+
}
|
|
357
364
|
onResizeHandler(e, callbackData, "onResize");
|
|
358
365
|
};
|
|
359
366
|
/**
|