@syncfusion/ej2-dropdowns 29.2.5 → 29.2.7
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 +9 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +9 -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 +7 -7
- package/src/drop-down-list/drop-down-list.js +4 -0
- package/src/multi-select/multi-select.js +5 -3
|
@@ -5158,6 +5158,9 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
5158
5158
|
}
|
|
5159
5159
|
if (this.getInitialData) {
|
|
5160
5160
|
this.updateActionCompleteDataValues(ulElement, list);
|
|
5161
|
+
if (this.enableVirtualization) {
|
|
5162
|
+
this.updateSelectElementData(this.allowFiltering);
|
|
5163
|
+
}
|
|
5161
5164
|
this.getInitialData = false;
|
|
5162
5165
|
this.isReactTemplateUpdate = true;
|
|
5163
5166
|
this.searchLists(this.filterArgs);
|
|
@@ -6147,6 +6150,7 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
6147
6150
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6148
6151
|
dataSourceCount = this.dataSource && this.dataSource.length ? this.dataSource.length : 0;
|
|
6149
6152
|
}
|
|
6153
|
+
this.customFilterQuery = null;
|
|
6150
6154
|
if (this.enableVirtualization && this.isFiltering() && isFilterValue && this.totalItemCount !== dataSourceCount) {
|
|
6151
6155
|
this.updateInitialData();
|
|
6152
6156
|
this.checkAndResetCache();
|
|
@@ -13831,10 +13835,12 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
13831
13835
|
while (scrollElement) {
|
|
13832
13836
|
const scrollElementStyle = getComputedStyle(scrollElement);
|
|
13833
13837
|
const scrollElmentHeight = parseFloat(scrollElementStyle.maxHeight) || parseFloat(scrollElementStyle.height);
|
|
13834
|
-
if (!isNaN(scrollElmentHeight)) {
|
|
13838
|
+
if (!isNaN(scrollElmentHeight) && this.isPopupOpen()) {
|
|
13835
13839
|
const overflowY = scrollElementStyle.overflowY;
|
|
13836
|
-
|
|
13837
|
-
|
|
13840
|
+
const wrapperBottom = this.overAllWrapper.getBoundingClientRect().bottom;
|
|
13841
|
+
const scrollElementBottom = scrollElement.getBoundingClientRect().bottom;
|
|
13842
|
+
if ((overflowY === 'auto' || overflowY === 'scroll') && wrapperBottom > scrollElementBottom) {
|
|
13843
|
+
scrollElement.scrollTop += (wrapperBottom - scrollElementBottom) + 10;
|
|
13838
13844
|
return;
|
|
13839
13845
|
}
|
|
13840
13846
|
}
|