@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.
@@ -2895,7 +2895,8 @@ let TreeMap = class TreeMap extends Component {
2895
2895
  }
2896
2896
  }
2897
2897
  elementChange() {
2898
- if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup) {
2898
+ if (this.treeMapLegendModule && this.legendSettings.visible && this.treeMapLegendModule.legendGroup && this.layout.layoutGroup
2899
+ && !isNullOrUndefined(this.svgObject)) {
2899
2900
  this.svgObject.insertBefore(this.layout.layoutGroup, this.treeMapLegendModule.legendGroup);
2900
2901
  }
2901
2902
  }