Smooth out initial composer slide animation

This commit is contained in:
Toby Zerner 2015-09-18 13:14:12 +09:30
parent 6fff3cc0dc
commit 6582c5fcf0

View File

@ -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.