@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 31.2.15
3
+ * version : 31.2.16
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-dropdowns",
3
- "version": "31.2.15",
3
+ "version": "31.2.16",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -9,10 +9,10 @@
9
9
  "es2015": "./dist/es6/ej2-dropdowns.es5.js",
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~31.2.12",
12
- "@syncfusion/ej2-data": "~31.2.12",
12
+ "@syncfusion/ej2-data": "~31.2.16",
13
13
  "@syncfusion/ej2-inputs": "~31.2.15",
14
14
  "@syncfusion/ej2-lists": "~31.2.12",
15
- "@syncfusion/ej2-navigations": "~31.2.12",
15
+ "@syncfusion/ej2-navigations": "~31.2.16",
16
16
  "@syncfusion/ej2-notifications": "~31.2.12",
17
17
  "@syncfusion/ej2-popups": "~31.2.12"
18
18
  },
@@ -4137,7 +4137,7 @@ var DropDownList = /** @class */ (function (_super) {
4137
4137
  var container = this.inputWrapper.container;
4138
4138
  var label = container.querySelector('.e-float-text');
4139
4139
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
4140
- if (label && calculateWidth) {
4140
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
4141
4141
  label.style.width = calculateWidth + 'px';
4142
4142
  }
4143
4143
  };
@@ -5811,7 +5811,7 @@ var MultiSelect = /** @class */ (function (_super) {
5811
5811
  _this.renderItems(_this.mainData, _this.fields);
5812
5812
  }
5813
5813
  _this.virtualCustomData = null;
5814
- _this.isVirtualTrackHeight = false;
5814
+ _this.isVirtualTrackHeight = _this.totalItemCount > (_this.itemCount * 2) ? false : true;
5815
5815
  }
5816
5816
  });
5817
5817
  }
@@ -5860,7 +5860,8 @@ var MultiSelect = /** @class */ (function (_super) {
5860
5860
  if (_this.hideSelectedItem && _this.value && Array.isArray(_this.value) && _this.value.length > 0) {
5861
5861
  _this.totalItemsCount();
5862
5862
  }
5863
- if (!_this.preventSetCurrentData && !isNullOrUndefined(_this.viewPortInfo.startIndex) &&
5863
+ if (!_this.preventSetCurrentData && _this.totalItemCount > (_this.itemCount * 2) &&
5864
+ !isNullOrUndefined(_this.viewPortInfo.startIndex) &&
5864
5865
  !isNullOrUndefined(_this.viewPortInfo.endIndex)) {
5865
5866
  _this.notify('setCurrentViewDataAsync', {
5866
5867
  component: _this.getModuleName(),
@@ -5929,7 +5930,7 @@ var MultiSelect = /** @class */ (function (_super) {
5929
5930
  var container = this.overAllWrapper;
5930
5931
  var label = container.querySelector('.e-float-text');
5931
5932
  var calculateWidth = (container.clientWidth - this.getRightIconsWidth());
5932
- if (label && calculateWidth) {
5933
+ if (label && calculateWidth && !(this.cssClass && this.cssClass.split(' ').indexOf('e-outline') !== -1)) {
5933
5934
  label.style.width = calculateWidth + 'px';
5934
5935
  }
5935
5936
  };