Skip to content

Commit

Permalink
fix(module:collapse): fix closed collapse cannot be reopnned in some …
Browse files Browse the repository at this point in the history
…browsers

close NG-ZORRO#3098
  • Loading branch information
Wendell committed Apr 3, 2019
1 parent 51c0d53 commit 6cbf2e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/core/animation/collapse.ts
Expand Up @@ -2,7 +2,7 @@ import { animate, state, style, transition, trigger, AnimationTriggerMetadata }
import { AnimationCurves } from './animation';

export const collapseMotion: AnimationTriggerMetadata = trigger('collapseMotion', [
state('expanded', style({ height: '*' })),
state('expanded', style({ height: '*', display: '*' })),
state('collapsed', style({ height: 0, overflow: 'hidden' })),
state('hidden', style({ height: 0, display: 'none' })),
transition('expanded => collapsed', animate(`150ms ${AnimationCurves.EASE_IN_OUT}`)),
Expand Down

0 comments on commit 6cbf2e4

Please sign in to comment.