mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02:00
Fix bug where switching composer component would lead to incorrect rendering
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user