@syncfusion/ej2-dropdowns 21.1.36 → 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 +36 -22
- 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
|
@@ -14823,7 +14823,9 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
14823
14823
|
}
|
|
14824
14824
|
this.updateSelectedOptions();
|
|
14825
14825
|
this.triggerChange(this.getSelectedItems(), e);
|
|
14826
|
-
this.
|
|
14826
|
+
if (this.list) {
|
|
14827
|
+
this.checkMaxSelection();
|
|
14828
|
+
}
|
|
14827
14829
|
}
|
|
14828
14830
|
}
|
|
14829
14831
|
triggerChange(selectedLis, event) {
|
|
@@ -15477,7 +15479,7 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
|
|
|
15477
15479
|
if (index < 0 || index === cul.childElementCount) {
|
|
15478
15480
|
return -1;
|
|
15479
15481
|
}
|
|
15480
|
-
cli = cul.
|
|
15482
|
+
cli = cul.childNodes[index];
|
|
15481
15483
|
if (cli.classList.contains('e-disabled') || cli.classList.contains(cssClass.group)) {
|
|
15482
15484
|
index = this.getValidIndex(cli, index, keyCode);
|
|
15483
15485
|
}
|
|
@@ -17064,7 +17066,7 @@ let Mention = class Mention extends DropDownBase {
|
|
|
17064
17066
|
}
|
|
17065
17067
|
globalRange = this.range;
|
|
17066
17068
|
range = document.createRange();
|
|
17067
|
-
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1
|
|
17069
|
+
if (((this.getTextRange() && this.getTextRange().lastIndexOf(this.mentionChar) !== -1) || this.getTextRange() && this.getTextRange().trim() === this.mentionChar)) {
|
|
17068
17070
|
range.setStart(globalRange.startContainer, startPos);
|
|
17069
17071
|
range.setEnd(globalRange.startContainer, endPos);
|
|
17070
17072
|
}
|