From 6582c5fcf044260117893acb0cb4602f3e52d845 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 18 Sep 2015 13:14:12 +0930 Subject: [PATCH] Smooth out initial composer slide animation --- js/forum/src/components/Composer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/forum/src/components/Composer.js b/js/forum/src/components/Composer.js index 648911f43..7a1a0b806 100644 --- a/js/forum/src/components/Composer.js +++ b/js/forum/src/components/Composer.js @@ -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.