@syncfusion/ej2-dropdowns 21.1.35 → 21.1.37
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 +15 -0
- 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 +5 -3
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +5 -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 +11 -11
- package/src/list-box/list-box-model.d.ts +0 -1
- package/src/list-box/list-box.d.ts +0 -1
- package/src/list-box/list-box.js +4 -2
- package/src/mention/mention.js +1 -1
|
@@ -15053,7 +15053,9 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15053
15053
|
}
|
|
15054
15054
|
this.updateSelectedOptions();
|
|
15055
15055
|
this.triggerChange(this.getSelectedItems(), e);
|
|
15056
|
-
this.
|
|
15056
|
+
if (this.list) {
|
|
15057
|
+
this.checkMaxSelection();
|
|
15058
|
+
}
|
|
15057
15059
|
}
|
|
15058
15060
|
};
|
|
15059
15061
|
ListBox.prototype.triggerChange = function (selectedLis, event) {
|
|
@@ -15712,7 +15714,7 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
|
|
|
15712
15714
|
if (index < 0 || index === cul.childElementCount) {
|
|
15713
15715
|
return -1;
|
|
15714
15716
|
}
|
|
15715
|
-
cli = cul.
|
|
15717
|
+
cli = cul.childNodes[index];
|
|
15716
15718
|
if (cli.classList.contains('e-disabled') || cli.classList.contains(cssClass.group)) {
|
|
15717
15719
|
index = this.getValidIndex(cli, index, keyCode);
|
|
15718
15720
|
}
|
|
@@ -17331,7 +17333,7 @@ var Mention = /** @__PURE__ @class */ (function (_super) {
|
|
|
17331
17333
|
}
|
|
17332
17334
|
globalRange = this.range;
|
|
17333
17335
|
range = document.createRange();
|
|
17334
|
-
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1
|
|
17336
|
+
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1) || this.getTextRange() && this.getTextRange().trim() === this.mentionChar)) {
|
|
17335
17337
|
range.setStart(globalRange.startContainer, startPos);
|
|
17336
17338
|
range.setEnd(globalRange.startContainer, endPos);
|
|
17337
17339
|
}
|