@syncfusion/ej2-layouts 29.1.35 → 29.1.37

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.
@@ -3953,7 +3953,7 @@ let DashboardLayout = class DashboardLayout extends Component {
3953
3953
  return available;
3954
3954
  }
3955
3955
  checkForSwapping(collisions, element) {
3956
- if (!this.mainElement || collisions.length === 0) {
3956
+ if (Object.keys(this.cloneObject).length === 0 || !this.mainElement || collisions.length === 0) {
3957
3957
  return false;
3958
3958
  }
3959
3959
  let direction;