angular / angular/components

[Stepper] linear mode requires control for every step

Open
#7,801 2 comments 7 reactions 0 assignees View on GitHub
area: cdk/stepper feature P3
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

#### Bug, feature request, or proposal:
Bug

#### What is the expected behavior?
When using linear stepper, I don't want to provide a control.

#### What is the current behavior?
You can't switch to a step without control when linear mode is activated.

#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-rtrzvu

#### What is the use-case or motivation for changing an existing behavior?
Makes linear usage more smooth without need to add unused code and objects.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 2.0.0-beta 12

#### Is there anything else we should know?

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the linear-stepper behavior in the linked StackBlitz example, then trace the Angular Material stepper implementation and its linear-mode validation. Done means a linear stepper can move to a step without an associated control, while existing controlled steps retain their expected behavior; verify the change with a focused regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.