FIX: prevents focus of input on mobile (#6251)

This commit is contained in:
Joffrey JAFFEUX 2018-08-09 14:23:09 +02:00 committed by GitHub
parent 523acfcea4
commit bfcf8ed61b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -105,7 +105,11 @@ export default Ember.Mixin.create({
$(context.element).focus();
}
} else {
context.$filterInput().focus();
if (this.site && this.site.isMobileDevice) {
this.expand();
} else {
context.$filterInput().focus();
}
}
});
});