publ-echo-test 0.0.375 → 0.0.376
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.
|
@@ -759,7 +759,7 @@ var ReactGridLayout = function (_a) {
|
|
|
759
759
|
var activeDragItemOrSelectedItem = activeDrag || selectedLayoutItem;
|
|
760
760
|
var activeBlock = activeDragItemOrSelectedItem
|
|
761
761
|
? blockStructure
|
|
762
|
-
? findBlockByBlockId(blockStructure,
|
|
762
|
+
? findBlockByBlockId(blockStructure, activeDragItemOrSelectedItem.i)
|
|
763
763
|
: null
|
|
764
764
|
: null;
|
|
765
765
|
var activeRows = activeDragItemOrSelectedItem &&
|
|
@@ -771,7 +771,9 @@ var ReactGridLayout = function (_a) {
|
|
|
771
771
|
var activeRowsFiltered = shouldShowAllHeightVariableRows
|
|
772
772
|
? heightVariableRows
|
|
773
773
|
: activeRows;
|
|
774
|
+
console.log("activeDragItemOrSelectedItem", activeDragItemOrSelectedItem);
|
|
774
775
|
console.log("selectedBlockId", selectedBlockId);
|
|
776
|
+
console.log("selectedLayoutItem", selectedLayoutItem);
|
|
775
777
|
console.log("activeBlock", activeBlock);
|
|
776
778
|
console.log("activeRowsFiltered", activeRowsFiltered);
|
|
777
779
|
return (_jsxs("div", { ref: innerRef, className: mergedClassName, style: mergedStyle, onDrop: isDroppable ? onDropHandler : noop, onDragLeave: isDroppable ? onDragLeaveHandler : noop, onDragEnter: isDroppable ? onDragEnterHandler : noop, onDragOver: isDroppable ? onDragOverHandler : noop, "data-grid-row-height": rowHeight, "data-grid-cols": cols, "data-section-id": sectionId, children: [currentGroupBlocks.map(function (each) { return processGroup(each); }), React.Children.map(children, function (child) { return processGridItem(child); }), placeholder(), activeDrag && _jsx("div", { className: "grid-guide-line-center" }), activeDragItemOrSelectedItem && (_jsx(GridBackgroundPlaceholder, { device: device, backgroundWidth: getBackgroundWidth(), backgroundHeight: getBackgroundHeight(), margin: margin,
|