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

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();
}
}
});
});