mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 08:53:43 +08:00
Smooth out initial composer slide animation
This commit is contained in:
parent
7bfc3c3d21
commit
57efa7a335
|
@ -100,7 +100,7 @@ class Composer extends Component {
|
|||
// it at previously, or otherwise the composer's default height. After that,
|
||||
// we'll hide the composer.
|
||||
this.height = localStorage.getItem('composerHeight') || this.$().height();
|
||||
this.$().hide();
|
||||
this.$().hide().css('bottom', -this.height);
|
||||
|
||||
// Whenever any of the inputs inside the composer are have focus, we want to
|
||||
// add a class to the composer to draw attention to it.
|
||||
|
|
Loading…
Reference in New Issue
Block a user