@syncfusion/ej2-dropdowns 20.2.36 → 20.2.38
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/CHANGELOG.md +2 -0
- 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 +4 -4
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +4 -4
- 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 +11 -11
- package/src/drop-down-list/drop-down-list.js +1 -1
- package/src/multi-select/multi-select.js +3 -3
- package/styles/bootstrap-dark.css +23 -11
- package/styles/bootstrap.css +23 -11
- package/styles/bootstrap4.css +23 -11
- package/styles/bootstrap5-dark.css +24 -12
- package/styles/bootstrap5.css +24 -12
- package/styles/fabric-dark.css +23 -11
- package/styles/fabric.css +23 -11
- package/styles/fluent-dark.css +27 -15
- package/styles/fluent.css +24 -12
- package/styles/highcontrast-light.css +23 -11
- package/styles/highcontrast.css +23 -11
- package/styles/list-box/_bootstrap5-definition.scss +0 -2
- package/styles/list-box/_fluent-definition.scss +0 -2
- package/styles/list-box/_tailwind-definition.scss +0 -2
- package/styles/list-box/_theme.scss +23 -10
- package/styles/list-box/bootstrap-dark.css +23 -11
- package/styles/list-box/bootstrap.css +23 -11
- package/styles/list-box/bootstrap4.css +23 -11
- package/styles/list-box/bootstrap5-dark.css +24 -12
- package/styles/list-box/bootstrap5.css +24 -12
- package/styles/list-box/fabric-dark.css +23 -11
- package/styles/list-box/fabric.css +23 -11
- package/styles/list-box/fluent-dark.css +27 -15
- package/styles/list-box/fluent.css +24 -12
- package/styles/list-box/highcontrast-light.css +23 -11
- package/styles/list-box/highcontrast.css +23 -11
- package/styles/list-box/material-dark.css +23 -11
- package/styles/list-box/material.css +23 -11
- package/styles/list-box/tailwind-dark.css +24 -12
- package/styles/list-box/tailwind.css +24 -12
- package/styles/material-dark.css +23 -11
- package/styles/material.css +23 -11
- package/styles/tailwind-dark.css +24 -12
- package/styles/tailwind.css +24 -12
|
@@ -2909,7 +2909,6 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
2909
2909
|
this.initial = true;
|
|
2910
2910
|
this.activeIndex = this.index;
|
|
2911
2911
|
this.initRemoteRender = false;
|
|
2912
|
-
this.initial = false;
|
|
2913
2912
|
if (this.value && this.dataSource instanceof DataManager) {
|
|
2914
2913
|
const checkField = isNullOrUndefined(this.fields.value) ? this.fields.text : this.fields.value;
|
|
2915
2914
|
const checkVal = list.some((x) => x[checkField] === this.value);
|
|
@@ -2932,6 +2931,7 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
2932
2931
|
else {
|
|
2933
2932
|
this.updateValues();
|
|
2934
2933
|
}
|
|
2934
|
+
this.initial = false;
|
|
2935
2935
|
}
|
|
2936
2936
|
if (this.getModuleName() !== 'autocomplete' && this.isFiltering() && !this.isTyped) {
|
|
2937
2937
|
if (!this.actionCompleteData.isUpdated || ((!this.isCustomFilter
|
|
@@ -10269,7 +10269,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
10269
10269
|
});
|
|
10270
10270
|
this.invokeCheckboxSelection(element, eve, isClearAll);
|
|
10271
10271
|
}
|
|
10272
|
-
if (this.hideSelectedItem && this.fields.groupBy) {
|
|
10272
|
+
if (this.hideSelectedItem && this.fields.groupBy && element) {
|
|
10273
10273
|
this.hideGroupItem(value);
|
|
10274
10274
|
}
|
|
10275
10275
|
if (this.hideSelectedItem && this.fixedHeaderElement && this.fields.groupBy && this.mode !== 'CheckBox' &&
|
|
@@ -11108,7 +11108,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
11108
11108
|
}
|
|
11109
11109
|
}
|
|
11110
11110
|
updateDataList() {
|
|
11111
|
-
if (this.mainList && this.ulElement) {
|
|
11111
|
+
if (this.mainList && this.ulElement && !(this.isFiltered || this.filterAction)) {
|
|
11112
11112
|
let isDynamicGroupItemUpdate = this.mainList.childElementCount < this.ulElement.childElementCount;
|
|
11113
11113
|
let isReactTemplateUpdate = ((this.ulElement.childElementCount > 0 && this.ulElement.children[0].childElementCount > 0) && (this.mainList.children[0].childElementCount < this.ulElement.children[0].childElementCount));
|
|
11114
11114
|
let isAngularTemplateUpdate = this.itemTemplate && this.ulElement.childElementCount > 0 && !(this.ulElement.childElementCount < this.mainList.childElementCount) && (this.ulElement.children[0].childElementCount > 0 || (this.fields.groupBy && this.ulElement.children[1] && this.ulElement.children[1].childElementCount > 0));
|
|
@@ -12306,7 +12306,7 @@ let MultiSelect = class MultiSelect extends DropDownBase {
|
|
|
12306
12306
|
const mainLiLength = this.ulElement.querySelectorAll('li.' + 'e-list-item').length;
|
|
12307
12307
|
const liLength = this.ulElement.querySelectorAll('li.'
|
|
12308
12308
|
+ dropDownBaseClasses.li + '.' + HIDE_LIST).length;
|
|
12309
|
-
if (mainLiLength > 0 && (mainLiLength === liLength) && (liLength === this.mainData.length)) {
|
|
12309
|
+
if (mainLiLength > 0 && (mainLiLength === liLength) && (liLength === this.mainData.length) && !(this.targetElement() !== '' && this.allowCustomValue)) {
|
|
12310
12310
|
this.beforePopupOpen = false;
|
|
12311
12311
|
return;
|
|
12312
12312
|
}
|