@syncfusion/ej2-layouts 20.2.38 → 20.2.39

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.
@@ -3769,7 +3769,7 @@ let DashboardLayout = class DashboardLayout extends Component {
3769
3769
  }
3770
3770
  let isSwappable = false;
3771
3771
  for (let count1 = 0; count1 < collisions.length; count1++) {
3772
- if (collisions.length >= 1 && this.cloneObject[this.mainElement.id].row === this.oldRowCol[this.mainElement.id].row) {
3772
+ if (collisions.length >= 1 && this.cloneObject[this.mainElement.id] && this.cloneObject[this.mainElement.id].row === this.oldRowCol[this.mainElement.id].row) {
3773
3773
  return false;
3774
3774
  }
3775
3775
  }