A platform for community discussion. Free, open, simple.
FIX: prevents keyboard from appearing on android when expanding
Joffrey JAFFEUX11c47f57f945
diff --git a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6 b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6index 52fed1b1eba..14788dba5f1 100644--- a/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6+++ b/app/assets/javascripts/select-kit/mixins/dom-helpers.js.es6@@ -71,7 +71,7 @@ export default Ember.Mixin.create({// next so we are sure it finised expand/collapseEmber.run.next(() => {Ember.run.schedule("afterRender", () => {- if (!context.$filterInput() || !context.$filterInput().is(":visible")) {+ if ((this.site && this.site.isMobileDevice) || !context.$filterInput() || !context.$filterInput().is(":visible")) {context.$header().focus();} else {context.$filterInput().focus();