Skip to content

Commit 9c45865

Browse files
crisbetoandrewseguin
authored andcommitted
fix(dialog): partial keyframes animation error (#5020)
Fixes an error being thrown by the dialog animations. It looks like it was triggered as a result of the changes from 28d2ddd. Fixes #5019.
1 parent 63db51f commit 9c45865

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/dialog/dialog-container.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export function throwMdDialogContentAlreadyAttachedError() {
4747
trigger('slideDialog', [
4848
// Note: The `enter` animation doesn't transition to something like `translate3d(0, 0, 0)
4949
// scale(1)`, because for some reason specifying the transform explicitly, causes IE both
50-
// to blur the dialog content and decimate the animation performance. Leaving it blank
50+
// to blur the dialog content and decimate the animation performance. Leaving it as `none`
5151
// solves both issues.
52-
state('enter', style({ opacity: 1 })),
52+
state('enter', style({ transform: 'none', opacity: 1 })),
5353
state('void', style({ transform: 'translate3d(0, 25%, 0) scale(0.9)', opacity: 0 })),
5454
state('exit', style({ transform: 'translate3d(0, 25%, 0)', opacity: 0 })),
5555
transition('* => *', animate('400ms cubic-bezier(0.25, 0.8, 0.25, 1)')),

0 commit comments

Comments
 (0)