FIX: avoids hidding mobile keyboard on each keystroke

This commit is contained in:
Joffrey JAFFEUX
2018-05-28 16:18:25 +02:00
committed by GitHub
parent a7be1ddf4f
commit 4b9c713581
2 changed files with 4 additions and 2 deletions

View File

@ -334,7 +334,10 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
},
stopLoading() {
this.focus();
if (this.site && !this.site.isMobileDevice) {
this.focusFilterOrHeader();
}
this.set("isLoading", false);
this._boundaryActionHandler("onStopLoading");
},