@syncfusion/ej2-dropdowns 33.2.5 → 33.2.6
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 +10 -5
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +10 -5
- 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/drop-down-list/drop-down-list.js +6 -4
- package/src/list-box/list-box.js +0 -1
- package/src/multi-select/multi-select.js +4 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 33.2.
|
|
3
|
+
* version : 33.2.6
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2025. 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,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-dropdowns",
|
|
3
|
-
"version": "33.2.
|
|
3
|
+
"version": "33.2.6",
|
|
4
4
|
"description": "Essential JS 2 DropDown Components",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@syncfusion/ej2-data": "~33.2.5",
|
|
13
13
|
"@syncfusion/ej2-inputs": "~33.2.5",
|
|
14
14
|
"@syncfusion/ej2-lists": "~33.2.3",
|
|
15
|
-
"@syncfusion/ej2-navigations": "~33.2.
|
|
15
|
+
"@syncfusion/ej2-navigations": "~33.2.6",
|
|
16
16
|
"@syncfusion/ej2-notifications": "~33.2.3",
|
|
17
17
|
"@syncfusion/ej2-popups": "~33.2.5"
|
|
18
18
|
},
|
|
@@ -2467,7 +2467,7 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
2467
2467
|
}
|
|
2468
2468
|
else if (this.enableVirtualization && this.getModuleName() !== 'autocomplete' && !this.isFiltering()) {
|
|
2469
2469
|
var value = this.getItemData().value;
|
|
2470
|
-
this.activeIndex = this.getIndexByValue(value);
|
|
2470
|
+
this.activeIndex = !isNullOrUndefined(value) ? this.getIndexByValue(value) : this.activeIndex;
|
|
2471
2471
|
var element = this.findListElement(this.list, 'li', 'data-value', value);
|
|
2472
2472
|
this.selectedLI = element;
|
|
2473
2473
|
element = null;
|
|
@@ -3707,14 +3707,16 @@ var DropDownList = /** @class */ (function (_super) {
|
|
|
3707
3707
|
if (this.enableVirtualization) {
|
|
3708
3708
|
this.listItemHeight = this.getListHeight();
|
|
3709
3709
|
this.getSkeletonCount();
|
|
3710
|
+
this.skeletonCount = this.totalItemCount < (this.itemCount * 2) && ((!(this.dataSource instanceof DataManager)) ||
|
|
3711
|
+
((this.dataSource instanceof DataManager) && (this.totalItemCount <= this.itemCount))) ? 0 : this.skeletonCount;
|
|
3710
3712
|
this.updateVirtualizationProperties(this.itemCount, this.allowFiltering);
|
|
3711
|
-
if (this.index !== null) {
|
|
3712
|
-
this.activeIndex = this.index + this.skeletonCount;
|
|
3713
|
-
}
|
|
3714
3713
|
}
|
|
3715
3714
|
this.initValue();
|
|
3716
3715
|
this.selectedValueInfo = this.viewPortInfo;
|
|
3717
3716
|
if (this.enableVirtualization) {
|
|
3717
|
+
if (this.index !== null) {
|
|
3718
|
+
this.activeIndex = this.index + this.skeletonCount;
|
|
3719
|
+
}
|
|
3718
3720
|
this.activeIndex = this.activeIndex + this.skeletonCount;
|
|
3719
3721
|
}
|
|
3720
3722
|
}
|
package/src/list-box/list-box.js
CHANGED
|
@@ -161,7 +161,6 @@ var ListBox = /** @class */ (function (_super) {
|
|
|
161
161
|
this.list.classList.add('e-wrapper');
|
|
162
162
|
this.list.classList.add('e-lib');
|
|
163
163
|
if (this.element.tagName === 'EJS-LISTBOX') {
|
|
164
|
-
this.element.setAttribute('tabindex', '0');
|
|
165
164
|
if (this.initLoad) {
|
|
166
165
|
this.element.appendChild(this.list);
|
|
167
166
|
}
|
|
@@ -5597,6 +5597,10 @@ var MultiSelect = /** @class */ (function (_super) {
|
|
|
5597
5597
|
if (this.fields.disabled) {
|
|
5598
5598
|
this.removeDisabledItemsValue(this.value);
|
|
5599
5599
|
}
|
|
5600
|
+
if (this.enableVirtualization && !isNullOrUndefined(oldProp.value) && !isNullOrUndefined(newProp.value)
|
|
5601
|
+
&& !this.validateValues(newProp.value, oldProp.value)) {
|
|
5602
|
+
return;
|
|
5603
|
+
}
|
|
5600
5604
|
this.updateVal(this.value, oldProp.value, 'value', this.enableVirtualization);
|
|
5601
5605
|
this.addValidInputClass();
|
|
5602
5606
|
if (!this.closePopupOnSelect && this.isPopupOpen()) {
|