mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 04:28:29 -05:00
FIX: avoids view jumping on mobile
This commit is contained in:
@@ -65,7 +65,7 @@ export default Ember.Mixin.create({
|
||||
|
||||
// force the component in a known default state
|
||||
focus() {
|
||||
Ember.run.schedule("afterRender", () => this.$offscreenInput().focus() );
|
||||
Ember.run.schedule("afterRender", () => this.$offscreenInput().select() );
|
||||
},
|
||||
|
||||
expand() {
|
||||
|
||||
Reference in New Issue
Block a user