diff --git a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 index 73a3c2c6e2b..13490bc91ab 100644 --- a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 +++ b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 @@ -91,7 +91,14 @@ export default Ember.Mixin.create({ // next so we are sure it finised expand/collapse Ember.run.next(() => { Ember.run.schedule("afterRender", () => { - if (!context.$filterInput() || !context.$filterInput().is(":visible")) { + if ( + !context.$filterInput() || + !context.$filterInput().is(":visible") || + context + .$filterInput() + .parent() + .hasClass("is-hidden") + ) { if (context.$header()) { context.$header().focus(); } else {