publ-echo-test 0.0.356 → 0.0.358

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.
@@ -594,8 +594,15 @@ var ReactGridLayout = function (_a) {
594
594
  var zIndex = editorMode === "EDIT" ? editorZIndex : z;
595
595
  // Check if a layout item overlaps any of the activeRows (vertical overlap)
596
596
  var isOverlappingActiveRows = function (item) {
597
- if (!activeRows || activeRows.length === 0)
597
+ if (selectedBlockId === item.i) {
598
598
  return false;
599
+ }
600
+ if (!(activeDragItemOrSelectedItem === null || activeDragItemOrSelectedItem === void 0 ? void 0 : activeDragItemOrSelectedItem.heightFitContent)) {
601
+ return false;
602
+ }
603
+ if (!activeRows || activeRows.length === 0) {
604
+ return false;
605
+ }
599
606
  var minActive = Math.min.apply(Math, activeRows);
600
607
  var maxActive = Math.max.apply(Math, activeRows);
601
608
  var itemTop = item.y;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.356",
3
+ "version": "0.0.358",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",