angular / angular/components

[Stepper] linear mode requires control for every step

オープン
#7,801 コメント 2 件 リアクション 7 件 担当者 0 名 GitHub で見る
area: cdk/stepper feature P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### 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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、リンクされた StackBlitz の例で linear stepper の動作を再現し、次に Angular Material の stepper の実装と linear-mode でのバリデーションを追跡します。linear stepper が関連付けられた control のないステップに移動でき、既存の control されたステップは期待どおりの動作を維持できれば完了です。変更は、対象を絞った回帰チェックで検証してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。