@syncfusion/ej2-dropdowns 31.2.15 → 31.2.16

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.
@@ -7137,7 +7137,7 @@ let DropDownList = class DropDownList extends DropDownBase {
7137
7137
  const container = this.inputWrapper.container;
7138
7138
  const label = container.querySelector('.e-float-text');
7139
7139
  const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
7140
- if (label && calculateWidth) {
7140
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
7141
7141
  label.style.width = calculateWidth + 'px';
7142
7142
  }
7143
7143
  }
@@ -18686,7 +18686,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
18686
18686
  this.renderItems(this.mainData, this.fields);
18687
18687
  }
18688
18688
  this.virtualCustomData = null;
18689
- this.isVirtualTrackHeight = false;
18689
+ this.isVirtualTrackHeight = this.totalItemCount > (this.itemCount * 2) ? false : true;
18690
18690
  }
18691
18691
  });
18692
18692
  }
@@ -18734,7 +18734,8 @@ let MultiSelect = class MultiSelect extends DropDownBase {
18734
18734
  if (this.hideSelectedItem && this.value && Array.isArray(this.value) && this.value.length > 0) {
18735
18735
  this.totalItemsCount();
18736
18736
  }
18737
- if (!this.preventSetCurrentData && !isNullOrUndefined(this.viewPortInfo.startIndex) &&
18737
+ if (!this.preventSetCurrentData && this.totalItemCount > (this.itemCount * 2) &&
18738
+ !isNullOrUndefined(this.viewPortInfo.startIndex) &&
18738
18739
  !isNullOrUndefined(this.viewPortInfo.endIndex)) {
18739
18740
  this.notify('setCurrentViewDataAsync', {
18740
18741
  component: this.getModuleName(),
@@ -18802,7 +18803,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
18802
18803
  const container = this.overAllWrapper;
18803
18804
  const label = container.querySelector('.e-float-text');
18804
18805
  const calculateWidth = (container.clientWidth - this.getRightIconsWidth());
18805
- if (label && calculateWidth) {
18806
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
18806
18807
  label.style.width = calculateWidth + 'px';
18807
18808
  }
18808
18809
  }