@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.
@@ -461,7 +461,9 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
461
461
  this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement);
462
462
  }
463
463
  this.parent.updateVirtualReOrderList(true);
464
- if (this.parent.value.length < this.parent.itemCount && this.parent.value.length !== this.parent.totalItemCount) {
464
+ var totalCount = this.parent.dataSource instanceof DataManager
465
+ ? this.parent.totalItemCount : this.parent.dataSource.length;
466
+ if (this.parent.value.length < this.parent.itemCount && this.parent.value.length !== totalCount) {
465
467
  var oldUlElement_1 = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
466
468
  if (oldUlElement_1) {
467
469
  this.parent.list.querySelector('.e-virtual-ddl-content').removeChild(oldUlElement_1);