@syncfusion/ej2-dropdowns 31.2.12 → 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.
@@ -5879,6 +5879,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
5879
5879
  _this.getFocusElement();
5880
5880
  _this.checkCollision(popupEle_1);
5881
5881
  if (Browser.isDevice) {
5882
+ _this.popupObj.resolveCollision();
5882
5883
  if ((parseInt(_this.popupWidth.toString(), 10) > window.outerWidth) &&
5883
5884
  !(_this.getModuleName() === 'dropdownlist' && _this.allowFiltering)) {
5884
5885
  _this.popupObj.element.classList.add('e-wide-popup');
@@ -7277,7 +7278,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
7277
7278
  var container = this.inputWrapper.container;
7278
7279
  var label = container.querySelector('.e-float-text');
7279
7280
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
7280
- if (label && calculateWidth) {
7281
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
7281
7282
  label.style.width = calculateWidth + 'px';
7282
7283
  }
7283
7284
  };
@@ -18979,7 +18980,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
18979
18980
  _this.renderItems(_this.mainData, _this.fields);
18980
18981
  }
18981
18982
  _this.virtualCustomData = null;
18982
- _this.isVirtualTrackHeight = false;
18983
+ _this.isVirtualTrackHeight = _this.totalItemCount > (_this.itemCount * 2) ? false : true;
18983
18984
  }
18984
18985
  });
18985
18986
  }
@@ -19028,7 +19029,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
19028
19029
  if (_this.hideSelectedItem && _this.value && Array.isArray(_this.value) && _this.value.length > 0) {
19029
19030
  _this.totalItemsCount();
19030
19031
  }
19031
- if (!_this.preventSetCurrentData && !isNullOrUndefined(_this.viewPortInfo.startIndex) &&
19032
+ if (!_this.preventSetCurrentData && _this.totalItemCount > (_this.itemCount * 2) &&
19033
+ !isNullOrUndefined(_this.viewPortInfo.startIndex) &&
19032
19034
  !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
19033
19035
  _this.notify('setCurrentViewDataAsync', {
19034
19036
  component: _this.getModuleName(),
@@ -19097,7 +19099,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
19097
19099
  var container = this.overAllWrapper;
19098
19100
  var label = container.querySelector('.e-float-text');
19099
19101
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
19100
- if (label && calculateWidth) {
19102
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
19101
19103
  label.style.width = calculateWidth + 'px';
19102
19104
  }
19103
19105
  };