MatDrawerContainer opened and mode="side" doesn't work as expected inside a MatTabGroup
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### Description
If we have a MatDrawerContainer with initial state opened and mode="side"or mode="push" in a tab that is not visible, when we go to the tab, the MatDrawerContent is not correctly shrinked.
#### Reproduction
StackBlitz: https://stackblitz.com/edit/angular-9hnnl8
Steps: -Just switch to tabs 2 or 3.
#### Expected Behavior
I expect the drawer content to shrink if the drawer is opened (as it happens normally)
#### Actual Behavior
The MatDrawerContent of the not selected tabs is not correctly shrinked.
#### Environment
- Angular:
- CDK/Material:
- Browser(s): Chrome
- Operating System: Windows
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la riproduzione StackBlitz collegata e analizza l’interazione tra MatDrawerContainer e MatTabGroup quando le schede 2 e 3 diventano visibili. Verifica i drawer inizialmente aperti nelle modalità side e push e assicurati che MatDrawerContent si riduca correttamente dopo il cambio di scheda. Il lavoro è completato quando il contenuto ha la dimensione prevista in entrambe le schede.
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
- 35/100