mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
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() {
|
||||
this.focus();
|
||||
if (this.site && !this.site.isMobileDevice) {
|
||||
this.focusFilterOrHeader();
|
||||
}
|
||||
|
||||
this.set("isLoading", false);
|
||||
this._boundaryActionHandler("onStopLoading");
|
||||
},
|
||||
|
@ -28,7 +28,6 @@ export default Ember.Mixin.create({
|
||||
})
|
||||
.finally(() => {
|
||||
self.stopLoading();
|
||||
self.focusFilterOrHeader();
|
||||
});
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user