mirror of
https://github.com/flarum/core.git
synced 2025-07-25 02:31:17 +02:00
Fix composer closing animation from minimised state
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user