mirror of
https://github.com/flarum/core.git
synced 2025-06-15 22:06:29 +02:00
Work around Mithril bug
This commit is contained in:
@ -228,7 +228,8 @@ class Composer extends Component {
|
||||
if ([Composer.PositionEnum.MINIMIZED, Composer.PositionEnum.HIDDEN].indexOf(this.position()) !== -1) {
|
||||
this.position(Composer.PositionEnum.NORMAL);
|
||||
}
|
||||
this.render();
|
||||
// work around https://github.com/lhorie/mithril.js/issues/603
|
||||
setTimeout(() => this.render());
|
||||
}
|
||||
|
||||
hide() {
|
||||
|
Reference in New Issue
Block a user