@syncfusion/ej2-treemap 29.2.4 → 30.2.4

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.
@@ -737,7 +737,7 @@ function renderTextElement(options, font, color, parent, isMinus = false) {
737
737
  let height;
738
738
  let htmlObject;
739
739
  const breadCrumbText = !isNullOrUndefined(text) && !isNullOrUndefined(options.connectorText) ?
740
- (text.search(options.connectorText[1]) >= 0) : false;
740
+ (text.includes(options.connectorText[1])) : false;
741
741
  if (breadCrumbText) {
742
742
  const drilledLabel = text;
743
743
  const spacing = 5;
@@ -3961,6 +3961,10 @@ let TreeMap = class TreeMap extends Component {
3961
3961
  EventHandler.add(this.element, 'focusout', this.focusHandler, this);
3962
3962
  this.resizeEvent = this.resizeOnTreeMap.bind(this);
3963
3963
  window.addEventListener('resize', this.resizeEvent);
3964
+ this.setStyle(this.element);
3965
+ }
3966
+ setStyle(element) {
3967
+ element.style.overflow = 'hidden';
3964
3968
  }
3965
3969
  /**
3966
3970
  * Method to set culture for maps