@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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 29.2.5
3
+ * version : 29.2.7
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. 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,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-dropdowns@*",
3
- "_id": "@syncfusion/ej2-dropdowns@29.2.4",
3
+ "_id": "@syncfusion/ej2-dropdowns@29.2.5",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-2/LXQ3Z+oxZ7gXjg7Byi0b4jeKBHzYa8+17CwtLhfO2nX2RP61lASiEmN0zPvK4J4i8TrY2ZCNoJAALw0V7z/w==",
5
+ "_integrity": "sha512-IsEFxa88R9vq0rxkXFKbcEvdOoqOm5ylg2VOqzviJxv1+1il6HugrjpFGDconadN+HnRhW6nC539m8dj1CeRbg==",
6
6
  "_location": "/@syncfusion/ej2-dropdowns",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -36,8 +36,8 @@
36
36
  "/@syncfusion/ej2-spreadsheet",
37
37
  "/@syncfusion/ej2-vue-dropdowns"
38
38
  ],
39
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-29.2.4.tgz",
40
- "_shasum": "4272fdd6205a2045e1a05b3f4045e5e6647853d0",
39
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-29.2.5.tgz",
40
+ "_shasum": "73cddd41df6eda7061648a90dd58f5f6d5a95a03",
41
41
  "_spec": "@syncfusion/ej2-dropdowns@*",
42
42
  "_where": "/jenkins/workspace/elease-automation_release_29.1.1/packages/included",
43
43
  "author": {
@@ -49,9 +49,9 @@
49
49
  "@syncfusion/ej2-data": "~29.2.4",
50
50
  "@syncfusion/ej2-inputs": "~29.2.5",
51
51
  "@syncfusion/ej2-lists": "~29.2.4",
52
- "@syncfusion/ej2-navigations": "~29.2.5",
52
+ "@syncfusion/ej2-navigations": "~29.2.7",
53
53
  "@syncfusion/ej2-notifications": "~29.2.4",
54
- "@syncfusion/ej2-popups": "~29.2.4"
54
+ "@syncfusion/ej2-popups": "~29.2.7"
55
55
  },
56
56
  "deprecated": false,
57
57
  "description": "Essential JS 2 DropDown Components",
@@ -76,7 +76,7 @@
76
76
  "module": "./index.js",
77
77
  "name": "@syncfusion/ej2-dropdowns",
78
78
  "typings": "index.d.ts",
79
- "version": "29.2.5",
79
+ "version": "29.2.7",
80
80
  "sideEffects": false,
81
81
  "homepage": "https://www.syncfusion.com/javascript-ui-controls"
82
82
  }
@@ -2323,6 +2323,9 @@ var DropDownList = /** @class */ (function (_super) {
2323
2323
  }
2324
2324
  if (this.getInitialData) {
2325
2325
  this.updateActionCompleteDataValues(ulElement, list);
2326
+ if (this.enableVirtualization) {
2327
+ this.updateSelectElementData(this.allowFiltering);
2328
+ }
2326
2329
  this.getInitialData = false;
2327
2330
  this.isReactTemplateUpdate = true;
2328
2331
  this.searchLists(this.filterArgs);
@@ -3329,6 +3332,7 @@ var DropDownList = /** @class */ (function (_super) {
3329
3332
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
3330
3333
  dataSourceCount = this.dataSource && this.dataSource.length ? this.dataSource.length : 0;
3331
3334
  }
3335
+ this.customFilterQuery = null;
3332
3336
  if (this.enableVirtualization && this.isFiltering() && isFilterValue && this.totalItemCount !== dataSourceCount) {
3333
3337
  this.updateInitialData();
3334
3338
  this.checkAndResetCache();
@@ -1241,10 +1241,12 @@ var MultiSelect = /** @class */ (function (_super) {
1241
1241
  while (scrollElement) {
1242
1242
  var scrollElementStyle = getComputedStyle(scrollElement);
1243
1243
  var scrollElmentHeight = parseFloat(scrollElementStyle.maxHeight) || parseFloat(scrollElementStyle.height);
1244
- if (!isNaN(scrollElmentHeight)) {
1244
+ if (!isNaN(scrollElmentHeight) && this.isPopupOpen()) {
1245
1245
  var overflowY = scrollElementStyle.overflowY;
1246
- if (overflowY === 'auto' || overflowY === 'scroll') {
1247
- scrollElement.scrollTop = scrollElement.scrollHeight;
1246
+ var wrapperBottom = this.overAllWrapper.getBoundingClientRect().bottom;
1247
+ var scrollElementBottom = scrollElement.getBoundingClientRect().bottom;
1248
+ if ((overflowY === 'auto' || overflowY === 'scroll') && wrapperBottom > scrollElementBottom) {
1249
+ scrollElement.scrollTop += (wrapperBottom - scrollElementBottom) + 10;
1248
1250
  return;
1249
1251
  }
1250
1252
  }