FIX: avoids hidding mobile keyboard on each keystroke
This commit is contained in:
parent
a7be1ddf4f
commit
4b9c713581
|
@ -334,7 +334,10 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
|
||||||
},
|
},
|
||||||
|
|
||||||
stopLoading() {
|
stopLoading() {
|
||||||
this.focus();
|
if (this.site && !this.site.isMobileDevice) {
|
||||||
|
this.focusFilterOrHeader();
|
||||||
|
}
|
||||||
|
|
||||||
this.set("isLoading", false);
|
this.set("isLoading", false);
|
||||||
this._boundaryActionHandler("onStopLoading");
|
this._boundaryActionHandler("onStopLoading");
|
||||||
},
|
},
|
||||||
|
|
|
@ -28,7 +28,6 @@ export default Ember.Mixin.create({
|
||||||
})
|
})
|
||||||
.finally(() => {
|
.finally(() => {
|
||||||
self.stopLoading();
|
self.stopLoading();
|
||||||
self.focusFilterOrHeader();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue