@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.
@@ -4023,7 +4023,7 @@ var DashboardLayout = /** @__PURE__ @class */ (function (_super) {
4023
4023
  return available;
4024
4024
  };
4025
4025
  DashboardLayout.prototype.checkForSwapping = function (collisions, element) {
4026
- if (!this.mainElement || collisions.length === 0) {
4026
+ if (Object.keys(this.cloneObject).length === 0 || !this.mainElement || collisions.length === 0) {
4027
4027
  return false;
4028
4028
  }
4029
4029
  var direction;