mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 09:11:40 +08:00
Simplify composer animation
This commit is contained in:
parent
6db3bd9178
commit
2786dbd157
@ -168,7 +168,7 @@ class Composer extends Component {
|
||||
|
||||
if (this.position() !== Composer.PositionEnum.FULLSCREEN) {
|
||||
this.updateBodyPadding();
|
||||
$('html, body').scrollTop(anchorToBottom ? $(document).height() : scrollTop);
|
||||
$('html, body').scrollTop(scrollTop);
|
||||
} else {
|
||||
this.component.focus();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user