publ-echo-test 0.0.385 → 0.0.387
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.
|
@@ -22,6 +22,7 @@ export function GridBackgroundPlaceholder(_a) {
|
|
|
22
22
|
? !!(activeBlock === null || activeBlock === void 0 ? void 0 : activeBlock.isHeightVariableDesktop)
|
|
23
23
|
: !!(activeBlock === null || activeBlock === void 0 ? void 0 : activeBlock.isHeightVariableMobile);
|
|
24
24
|
var showActiveRows = !!activeDrag.heightFitContent || isHeightVariable;
|
|
25
|
+
console.log("activeBlock", activeBlock);
|
|
25
26
|
return (_jsx("div", { className: "grid-placeholder", style: {
|
|
26
27
|
marginTop: margin[1] + "px",
|
|
27
28
|
marginBottom: margin[1] + "px",
|
|
@@ -770,7 +770,7 @@ var ReactGridLayout = function (_a) {
|
|
|
770
770
|
? generateGrouplayout(parsedSelectedBlockId.blockId)
|
|
771
771
|
: null;
|
|
772
772
|
var activeDragItemOrSelectedItem = activeDrag || selectedLayoutItem;
|
|
773
|
-
var activeBlock = activeDragItemOrSelectedItem
|
|
773
|
+
var activeBlock = activeDragItemOrSelectedItem && parsedSelectedBlockId
|
|
774
774
|
? blockStructure
|
|
775
775
|
? findBlockByBlockId(blockStructure, parsedSelectedBlockId.blockId)
|
|
776
776
|
: null
|