diff --git a/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js b/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js index 168e5b9e867..de669cd10b5 100644 --- a/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js +++ b/app/assets/javascripts/select-kit/addon/components/select-kit/single-select-header.js @@ -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;