mirror of
https://github.com/flarum/framework.git
synced 2025-05-10 05:22:27 +08:00
Fix composer closing animation from minimised state
This commit is contained in:
parent
8683025ef6
commit
acd417a57c
@ -159,7 +159,7 @@ export default Ember.View.extend(HasItemLists, {
|
|||||||
|
|
||||||
switch (this.get('position')) {
|
switch (this.get('position')) {
|
||||||
case PositionEnum.HIDDEN:
|
case PositionEnum.HIDDEN:
|
||||||
$composer.animate({bottom: -newHeight}, 'fast', function() {
|
$composer.css({height: oldHeight}).animate({bottom: -newHeight}, 'fast', function() {
|
||||||
$composer.hide();
|
$composer.hide();
|
||||||
view.get('controller').send('clearContent');
|
view.get('controller').send('clearContent');
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user