mirror of
https://github.com/flarum/core.git
synced 2025-08-01 22:20:21 +02:00
Smooth out initial composer slide animation
This commit is contained in:
@@ -100,7 +100,7 @@ class Composer extends Component {
|
|||||||
// it at previously, or otherwise the composer's default height. After that,
|
// it at previously, or otherwise the composer's default height. After that,
|
||||||
// we'll hide the composer.
|
// we'll hide the composer.
|
||||||
this.height = localStorage.getItem('composerHeight') || this.$().height();
|
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
|
// 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.
|
// add a class to the composer to draw attention to it.
|
||||||
|
Reference in New Issue
Block a user