mirror of
https://github.com/flarum/core.git
synced 2025-07-27 03:30:28 +02:00
Make the invoker responsible for positioning the composer cursor
This commit is contained in:
@@ -133,7 +133,7 @@ class Composer extends Component {
|
||||
}
|
||||
|
||||
render(anchorToBottom) {
|
||||
if (this.position() === this.oldPosition) { return; }
|
||||
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