FIX: prevents keyboard from appearing on android when expanding
This commit is contained in:
parent
64f2086cca
commit
11c47f57f9
|
@ -71,7 +71,7 @@ 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 ((this.site && this.site.isMobileDevice) || !context.$filterInput() || !context.$filterInput().is(":visible")) {
|
||||
context.$header().focus();
|
||||
} else {
|
||||
context.$filterInput().focus();
|
||||
|
|
Loading…
Reference in New Issue