mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 07:09:57 +08: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