@syncfusion/ej2-layouts 20.2.38 → 20.2.45

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.
@@ -3834,7 +3834,7 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
3834
3834
  }
3835
3835
  var isSwappable = false;
3836
3836
  for (var count1 = 0; count1 < collisions.length; count1++) {
3837
- if (collisions.length >= 1 && this.cloneObject[this.mainElement.id].row === this.oldRowCol[this.mainElement.id].row) {
3837
+ if (collisions.length >= 1 && this.cloneObject[this.mainElement.id] && this.cloneObject[this.mainElement.id].row === this.oldRowCol[this.mainElement.id].row) {
3838
3838
  return false;
3839
3839
  }
3840
3840
  }