Fix composer closing animation from minimised state

This commit is contained in:
Toby Zerner 2015-02-26 09:44:12 +10:30
parent f5aa7bfefa
commit b5beda019f

View File

@ -159,7 +159,7 @@ export default Ember.View.extend(HasItemLists, {
switch (this.get('position')) {
case PositionEnum.HIDDEN:
$composer.animate({bottom: -newHeight}, 'fast', function() {
$composer.css({height: oldHeight}).animate({bottom: -newHeight}, 'fast', function() {
$composer.hide();
view.get('controller').send('clearContent');
});