@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.
- package/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +7 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +7 -3
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +2 -2
- package/src/common/virtual-scroll.js +3 -0
- package/src/drop-down-list/drop-down-list.js +1 -1
- package/src/multi-select/multi-select.js +3 -2
|
@@ -430,6 +430,9 @@ class VirtualScroll {
|
|
|
430
430
|
isListUpdated = false;
|
|
431
431
|
}
|
|
432
432
|
else if (this.parent.viewPortInfo.startIndex !== 0) {
|
|
433
|
+
if (this.parent.dataSource instanceof DataManager) {
|
|
434
|
+
this.parent.setCurrentView = false;
|
|
435
|
+
}
|
|
433
436
|
this.parent.updateVirtualReOrderList(true);
|
|
434
437
|
const oldUlElement = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
|
|
435
438
|
if (oldUlElement) {
|
|
@@ -5599,7 +5602,7 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
5599
5602
|
popupEle.setAttribute('aria-label', this.element.id);
|
|
5600
5603
|
popupEle.setAttribute('role', 'dialog');
|
|
5601
5604
|
const searchBox = this.setSearchBox(popupEle);
|
|
5602
|
-
this.listContainerHeight = this.allowFiltering && this.getModuleName() === 'dropdownlist' && Browser.isDevice ?
|
|
5605
|
+
this.listContainerHeight = this.allowFiltering && this.getModuleName() === 'dropdownlist' && Browser.isDevice && this.isDeviceFullScreen ?
|
|
5603
5606
|
formatUnit(Math.round(window.outerHeight).toString() + 'px') : formatUnit(this.popupHeight);
|
|
5604
5607
|
if (this.headerTemplate) {
|
|
5605
5608
|
this.setHeaderTemplate(popupEle);
|
|
@@ -13417,7 +13420,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13417
13420
|
}
|
|
13418
13421
|
const isContainsValue = valuecheck.some((item) => item !== null);
|
|
13419
13422
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13420
|
-
&& this.listData != null && isContainsValue) {
|
|
13423
|
+
&& this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate)) && isContainsValue) {
|
|
13421
13424
|
this.isaddNonPresentItems = true;
|
|
13422
13425
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13423
13426
|
this.isaddNonPresentItems = false;
|
|
@@ -18319,7 +18322,8 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
18319
18322
|
}
|
|
18320
18323
|
const isContainsValue = valuecheck.some((item) => item !== null);
|
|
18321
18324
|
if (prop === 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
18322
|
-
&& this.listData != null &&
|
|
18325
|
+
&& this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate))
|
|
18326
|
+
&& isContainsValue) {
|
|
18323
18327
|
this.mainData = null;
|
|
18324
18328
|
this.setDynValue = true;
|
|
18325
18329
|
this.isaddNonPresentItems = true;
|