@syncfusion/ej2-dropdowns 30.2.4 → 30.2.5

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 : 30.2.4
3
+ * version : 30.2.5
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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": "30.2.4",
3
+ "version": "30.2.5",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -12,7 +12,7 @@
12
12
  "@syncfusion/ej2-data": "~30.2.4",
13
13
  "@syncfusion/ej2-inputs": "~30.2.4",
14
14
  "@syncfusion/ej2-lists": "~30.2.4",
15
- "@syncfusion/ej2-navigations": "~30.2.4",
15
+ "@syncfusion/ej2-navigations": "~30.2.5",
16
16
  "@syncfusion/ej2-notifications": "~30.2.4",
17
17
  "@syncfusion/ej2-popups": "~30.2.4"
18
18
  },
@@ -219,6 +219,9 @@ var VirtualScroll = /** @class */ (function () {
219
219
  isListUpdated = false;
220
220
  }
221
221
  else if (this.parent.viewPortInfo.startIndex !== 0) {
222
+ if (this.parent.dataSource instanceof DataManager) {
223
+ this.parent.setCurrentView = false;
224
+ }
222
225
  this.parent.updateVirtualReOrderList(true);
223
226
  var oldUlElement = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
224
227
  if (oldUlElement) {
@@ -2608,7 +2608,7 @@ var DropDownList = /** @class */ (function (_super) {
2608
2608
  popupEle.setAttribute('aria-label', _this.element.id);
2609
2609
  popupEle.setAttribute('role', 'dialog');
2610
2610
  var searchBox = _this.setSearchBox(popupEle);
2611
- _this.listContainerHeight = _this.allowFiltering && _this.getModuleName() === 'dropdownlist' && Browser.isDevice ?
2611
+ _this.listContainerHeight = _this.allowFiltering && _this.getModuleName() === 'dropdownlist' && Browser.isDevice && _this.isDeviceFullScreen ?
2612
2612
  formatUnit(Math.round(window.outerHeight).toString() + 'px') : formatUnit(_this.popupHeight);
2613
2613
  if (_this.headerTemplate) {
2614
2614
  _this.setHeaderTemplate(popupEle);
@@ -617,7 +617,7 @@ var MultiSelect = /** @class */ (function (_super) {
617
617
  }
618
618
  var isContainsValue = valuecheck.some(function (item) { return item !== null; });
619
619
  if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
620
- && this.listData != null && isContainsValue) {
620
+ && this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate)) && isContainsValue) {
621
621
  this.isaddNonPresentItems = true;
622
622
  this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
623
623
  this.isaddNonPresentItems = false;
@@ -5560,7 +5560,8 @@ var MultiSelect = /** @class */ (function (_super) {
5560
5560
  }
5561
5561
  var isContainsValue = valuecheck.some(function (item) { return item !== null; });
5562
5562
  if (prop === 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
5563
- && this.listData != null && isContainsValue) {
5563
+ && this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate))
5564
+ && isContainsValue) {
5564
5565
  this.mainData = null;
5565
5566
  this.setDynValue = true;
5566
5567
  this.isaddNonPresentItems = true;