@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
|
@@ -478,6 +478,9 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
478
478
|
isListUpdated = false;
|
|
479
479
|
}
|
|
480
480
|
else if (this.parent.viewPortInfo.startIndex !== 0) {
|
|
481
|
+
if (this.parent.dataSource instanceof DataManager) {
|
|
482
|
+
this.parent.setCurrentView = false;
|
|
483
|
+
}
|
|
481
484
|
this.parent.updateVirtualReOrderList(true);
|
|
482
485
|
var oldUlElement = this.parent.list.querySelector('.e-list-parent' + ':not(.e-reorder)');
|
|
483
486
|
if (oldUlElement) {
|
|
@@ -5723,7 +5726,7 @@ var DropDownList = /** @__PURE__ @class */ (function (_super) {
|
|
|
5723
5726
|
popupEle.setAttribute('aria-label', _this.element.id);
|
|
5724
5727
|
popupEle.setAttribute('role', 'dialog');
|
|
5725
5728
|
var searchBox = _this.setSearchBox(popupEle);
|
|
5726
|
-
_this.listContainerHeight = _this.allowFiltering && _this.getModuleName() === 'dropdownlist' && Browser.isDevice ?
|
|
5729
|
+
_this.listContainerHeight = _this.allowFiltering && _this.getModuleName() === 'dropdownlist' && Browser.isDevice && _this.isDeviceFullScreen ?
|
|
5727
5730
|
formatUnit(Math.round(window.outerHeight).toString() + 'px') : formatUnit(_this.popupHeight);
|
|
5728
5731
|
if (_this.headerTemplate) {
|
|
5729
5732
|
_this.setHeaderTemplate(popupEle);
|
|
@@ -13673,7 +13676,7 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
13673
13676
|
}
|
|
13674
13677
|
var isContainsValue = valuecheck.some(function (item) { return item !== null; });
|
|
13675
13678
|
if (valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
13676
|
-
&& this.listData != null && isContainsValue) {
|
|
13679
|
+
&& this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate)) && isContainsValue) {
|
|
13677
13680
|
this.isaddNonPresentItems = true;
|
|
13678
13681
|
this.addNonPresentItems(valuecheck, this.ulElement, this.listData);
|
|
13679
13682
|
this.isaddNonPresentItems = false;
|
|
@@ -18611,7 +18614,8 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
|
|
|
18611
18614
|
}
|
|
18612
18615
|
var isContainsValue = valuecheck.some(function (item) { return item !== null; });
|
|
18613
18616
|
if (prop === 'value' && valuecheck.length > 0 && this.dataSource instanceof DataManager && !isNullOrUndefined(this.value)
|
|
18614
|
-
&& this.listData != null &&
|
|
18617
|
+
&& this.listData != null && (!this.enableVirtualization || (this.enableVirtualization && this.valueTemplate))
|
|
18618
|
+
&& isContainsValue) {
|
|
18615
18619
|
this.mainData = null;
|
|
18616
18620
|
this.setDynValue = true;
|
|
18617
18621
|
this.isaddNonPresentItems = true;
|