DEV: prevents focus event bubbling (#14241)
This commit is contained in:
parent
36a81435cf
commit
142120753f
|
@ -11,6 +11,8 @@ export default SelectKitHeaderComponent.extend(UtilsMixin, {
|
|||
attributeBindings: ["name"],
|
||||
|
||||
focusIn(event) {
|
||||
event.stopImmediatePropagation();
|
||||
|
||||
document.querySelectorAll(".select-kit-header").forEach((header) => {
|
||||
if (header !== event.target) {
|
||||
header.parentNode.open = false;
|
||||
|
|
Loading…
Reference in New Issue