sidenav: scroll strategies not working when mat-sidenav-container is used
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### 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?
/
Guía de contribución
Línea de trabajo
Comienza con la reproducción vinculada de StackBlitz e inspecciona cómo los diálogos abiertos dentro de mat-sidenav-container aplican estrategias de desplazamiento block y noop, con y sin backdrop. Confirma la corrección reproduciendo las combinaciones indicadas y verificando que block impide el desplazamiento, mientras que noop lo permite.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100