mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 08:49:03 +08:00
FIX: avoids hidding mobile keyboard on each keystroke
This commit is contained in:
@ -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");
|
||||
},
|
||||
|
Reference in New Issue
Block a user