angular / angular/components

bug(stepper): customized states does not show custom icon when state becomes active

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

説明

#### Reproduction

Use the second "Stepper with customized states" state example on your site which should show custom icons
[Stepper examples](https://material.angular.io/components/stepper/examples)

Steps to reproduce:
1. On initial load the edit icon is shown
2. Click the edit icon and it changes to the custom icon
3. Click Step 2 and it changes to the edit icon
4. Click Step 2 again and it changes to the custom icon


#### Expected Behavior

Always show the custom icon when step is active. Do not show the edit icon initially

#### Actual Behavior

Clicking the active icon switches the icon form edit to custom

#### Environment

Your example site

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

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

調査の方向性

Angular Material Stepper examples page の2番目の「Stepper with customized states」例で、記載されている4つの手順に従って問題を再現します。初回読み込み時を含め、step がアクティブなときは常にカスタムアイコンが表示され、編集アイコンに切り替わらなければ作業は完了です。

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

評価

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

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

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