Skip to content

Commit

Permalink
fix(stepper): avoid blurry content on IE (#6992)
Browse files Browse the repository at this point in the history
Avoids IE potentially blurring the content inside of a horizontal stepper.

Relates to #6954.
crisbeto authored and andrewseguin committed Sep 29, 2017
1 parent e52beeb commit 6f48710
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/stepper/stepper.ts
Original file line number Diff line number Diff line change
@@ -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}],

0 comments on commit 6f48710

Please sign in to comment.