help(Snackbar): Change z-index of snackbar without affecting Dialogs
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
Hi, I need to change the z-index of the snackbar but im not able to do it.
I found that if I have the following class in styles.scss, I can indeed change the z-index but it also affects the Material Dialogs.
.cdk-overlay-container {
z-index: 99999999999999;
}
Any way I can only affect the Snackbars?
Thanks in advanced!
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with the styles.scss example and reproduce the z-index change on a Snackbar alongside a Material Dialog. Trace how the shared cdk-overlay-container affects both components and identify the existing Snackbar-specific entry point, if one is exposed. Done means the Snackbar stacking order can be changed without changing the Dialogs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100