fix(stepper): avoid blurry content on IE (#6992)

Avoids IE potentially blurring the content inside of a horizontal stepper.

Relates to #6954.
This commit is contained in:
Kristiyan Kostadinov
2017-09-29 22:16:02 +02:00
committed by Andrew Seguin
parent e52beebbf3
commit 6f487100fd
+2 -3
View File
@@ -99,10 +99,9 @@ export class MatStepper extends _MatStepper {
animations: [
trigger('stepTransition', [
state('previous', style({transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden'})),
state('current', style({transform: 'translate3d(0%, 0, 0)', visibility: 'visible'})),
state('current', style({transform: 'none', visibility: 'visible'})),
state('next', style({transform: 'translate3d(100%, 0, 0)', visibility: 'hidden'})),
transition('* => *',
animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))
transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))
])
],
providers: [{provide: MatStepper, useExisting: MatHorizontalStepper}],