sidenav: scroll strategies not working when mat-sidenav-container is used
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### What is the expected behavior?
When dialog is opened inside mat-sidenav-container scroll strategies should work as usual. Block should block scrolling when dialog is opened, noop should allow scrolling, etc.
#### What is the current behavior?
Scroll strategies don't work when mat-sidenav-container is used. If I open dialog with backdrop and noop scroll strategy, scrolling is still blocked. If I remove backdrop and use block strategy, scrolling is still possible.
#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-material2-issue-effkee
Open dialog and try to scroll. Play around with backdrop and scroll settings.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular, Material and CDK 7.2.2, macos, Chrome (haven't tried other browsers but I assume it's the same)
#### Is there anything else we should know?
/
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con la riproduzione StackBlitz collegata e analizza come le finestre di dialogo aperte all’interno di mat-sidenav-container applichino le strategie di scorrimento block e noop, con e senza backdrop. Conferma la correzione riproducendo le combinazioni segnalate e verificando che block impedisca lo scorrimento mentre noop lo consenta.
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
- 25/100