angular / angular/components

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

Aperta
#21,998 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area: material/stepper P3
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Riproduci il problema nel secondo esempio «Stepper with customized states» della Angular Material Stepper examples page, seguendo i quattro passaggi elencati. Il lavoro è completato quando l'icona personalizzata viene mostrata ogni volta che lo step è attivo, anche al caricamento iniziale, senza passare all'icona di modifica.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.