@syncfusion/ej2-treemap 19.4.38 → 19.4.48

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.
@@ -3018,7 +3018,8 @@ var TreeMap = /** @__PURE__ @class */ (function (_super) {
3018
3018
  }
3019
3019
  };
3020
3020
  TreeMap.prototype.elementChange = function () {
3021
- if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup) {
3021
+ if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup
3022
+ && !isNullOrUndefined(this.svgObject)) {
3022
3023
  this.svgObject.insertBefore(this.layout.layoutGroup, this.treeMapLegendModule.legendGroup);
3023
3024
  }
3024
3025
  };