mirror of
https://github.com/flarum/core.git
synced 2025-07-21 16:51:34 +02:00
Simplify composer animation
This commit is contained in:
@@ -168,7 +168,7 @@ class Composer extends Component {
|
|||||||
|
|
||||||
if (this.position() !== Composer.PositionEnum.FULLSCREEN) {
|
if (this.position() !== Composer.PositionEnum.FULLSCREEN) {
|
||||||
this.updateBodyPadding();
|
this.updateBodyPadding();
|
||||||
$('html, body').scrollTop(anchorToBottom ? $(document).height() : scrollTop);
|
$('html, body').scrollTop(scrollTop);
|
||||||
} else {
|
} else {
|
||||||
this.component.focus();
|
this.component.focus();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user