mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Andrew Seguin
parent
e52beebbf3
commit
6f487100fd
@@ -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}],
|
||||
|
||||
Reference in New Issue
Block a user