@syncfusion/ej2-dropdowns 35.1.42 → 35.1.43

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 : 35.1.42
3
+ * version : 35.1.43
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": "35.1.42",
3
+ "version": "35.1.43",
4
4
  "description": "Essential JS 2 DropDown Components",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -10,9 +10,9 @@
10
10
  "dependencies": {
11
11
  "@syncfusion/ej2-base": "~35.1.37",
12
12
  "@syncfusion/ej2-data": "~35.1.37",
13
- "@syncfusion/ej2-inputs": "~35.1.42",
14
- "@syncfusion/ej2-lists": "~35.1.37",
15
- "@syncfusion/ej2-navigations": "~35.1.42",
13
+ "@syncfusion/ej2-inputs": "~35.1.43",
14
+ "@syncfusion/ej2-lists": "~35.1.43",
15
+ "@syncfusion/ej2-navigations": "~35.1.43",
16
16
  "@syncfusion/ej2-notifications": "~35.1.37",
17
17
  "@syncfusion/ej2-popups": "~35.1.42"
18
18
  },
@@ -201,7 +201,9 @@ var VirtualScroll = /** @class */ (function () {
201
201
  this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement);
202
202
  }
203
203
  this.parent.updateVirtualReOrderList(true);
204
- if (this.parent.value.length < this.parent.itemCount && this.parent.value.length !== this.parent.totalItemCount) {
204
+ var totalCount = this.parent.dataSource instanceof DataManager
205
+ ? this.parent.totalItemCount : this.parent.dataSource.length;
206
+ if (this.parent.value.length < this.parent.itemCount && this.parent.value.length !== totalCount) {
205
207
  var oldUlElement_1 = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
206
208
  if (oldUlElement_1) {
207
209
  this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement_1);