@syncfusion/ej2-splitbuttons 20.3.47 → 20.3.56
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 +10 -0
- package/dist/ej2-splitbuttons.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es2015.js +12 -0
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +12 -0
- package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-splitbuttons.min.js +2 -2
- package/dist/global/ej2-splitbuttons.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/drop-down-button/drop-down-button.js +12 -0
|
@@ -611,6 +611,18 @@ let DropDownButton = class DropDownButton extends Component {
|
|
|
611
611
|
}
|
|
612
612
|
focusoutHandler(e) {
|
|
613
613
|
if (this.isPopupCreated && !this.canOpen()) {
|
|
614
|
+
let liTarget = e.relatedTarget;
|
|
615
|
+
if (liTarget && liTarget.className.indexOf('e-item') > -1) {
|
|
616
|
+
const li = this.getLI(liTarget);
|
|
617
|
+
if (li) {
|
|
618
|
+
let liIdx = Array.prototype.indexOf.call(this.getULElement().children, li);
|
|
619
|
+
let item = this.items[liIdx];
|
|
620
|
+
if (item) {
|
|
621
|
+
let selectEventArgs = { element: li, item: item };
|
|
622
|
+
this.trigger('select', selectEventArgs);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
}
|
|
614
626
|
this.closePopup(e);
|
|
615
627
|
}
|
|
616
628
|
}
|