Skip to content

Commit

Permalink
fix(stepper): don't grey out non-linear steps (#7479)
Browse files Browse the repository at this point in the history
Fixes #7260.
  • Loading branch information
crisbeto authored and kara committed Oct 6, 2017
1 parent 5b7982f commit 60707b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/stepper/stepper-horizontal.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[icon]="_getIndicatorType(i)"
[label]="step.stepLabel || step.label"
[selected]="selectedIndex === i"
[active]="step.completed || selectedIndex === i"
[active]="step.completed || selectedIndex === i || !linear"
[optional]="step.optional">
</mat-step-header>
<div *ngIf="!isLast" class="mat-stepper-horizontal-line"></div>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/stepper/stepper-vertical.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[icon]="_getIndicatorType(i)"
[label]="step.stepLabel || step.label"
[selected]="selectedIndex === i"
[active]="step.completed || selectedIndex === i"
[active]="step.completed || selectedIndex === i || !linear"
[optional]="step.optional">
</mat-step-header>

Expand Down

0 comments on commit 60707b3

Please sign in to comment.