mirror of
https://github.com/flarum/framework.git
synced 2025-05-29 03:21:57 +08:00
Force redraw to ensure focusing works
This commit is contained in:
@ -41,7 +41,7 @@ export default class ComposerBody extends Component {
|
||||
|
||||
focus() {
|
||||
this.ready(true);
|
||||
m.redraw();
|
||||
m.redraw(true);
|
||||
|
||||
this.$(':input:enabled:visible:first').focus();
|
||||
}
|
||||
|
Reference in New Issue
Block a user