From c4410c3b71409be1e82eb4787a91f226ce0bf9a7 Mon Sep 17 00:00:00 2001 From: crisbeto Date: Mon, 2 Oct 2017 20:58:57 +0200 Subject: [PATCH] fix(stepper): don't grey out non-linear steps No longer displays steps as disabled in non-linear mode. Previously they would be greyed-out, causing them to look disabled even though they're clickable. Fixes #7260. --- src/lib/stepper/stepper-horizontal.html | 2 +- src/lib/stepper/stepper-vertical.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/stepper/stepper-horizontal.html b/src/lib/stepper/stepper-horizontal.html index 905f8dee8034..5388801e155c 100644 --- a/src/lib/stepper/stepper-horizontal.html +++ b/src/lib/stepper/stepper-horizontal.html @@ -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">
diff --git a/src/lib/stepper/stepper-vertical.html b/src/lib/stepper/stepper-vertical.html index 29a2f16f16fb..41bbefec72e7 100644 --- a/src/lib/stepper/stepper-vertical.html +++ b/src/lib/stepper/stepper-vertical.html @@ -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">