mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fix bug where switching composer component would lead to incorrect rendering
This commit is contained in:
parent
0b1ff22168
commit
78efdc1d09
|
@ -133,8 +133,6 @@ class Composer extends Component {
|
|||
}
|
||||
|
||||
render(anchorToBottom) {
|
||||
if (this.position() === this.oldPosition) { this.component.focus(); return; }
|
||||
|
||||
var $composer = this.$().stop(true);
|
||||
var oldHeight = $composer.is(':visible') ? $composer.outerHeight() : 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user