[Snackbar] Not visible if keyboard is displayed (touch devices)
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### Bug:
Snackbar is hidden when the virtual keyboard is opened.
Tested on iOS 11
#### What is the expected behavior?
Snackbar is placed on the bottom of visible screen, above keyboard
#### What is the current behavior?
Snackbar is placed on behind keyboard, not visible
#### What are the steps to reproduce?
Stackblitz Editor: https://stackblitz.com/edit/angular-material2-issue-brodsj
0. Open https://angular-material2-issue-brodsj.stackblitz.io on a touchscreen device with virtual
keyboard.
Case 1:
1. Tap "Open snackbar" link
2. Keyboard is displayed hidding the snackbar
Case 2:
1. Tap "Open same snackbar" button -> The snackbar is displayed and visible
2. Tap "The placeholder" input field -> Keyboard is displayed hidding the snackbar
#### What is the use-case or motivation for changing an existing behavior?
We want to notify the user from some action AND request immediate input.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5+
#### Is there anything else we should know?
Tested on iOS11, Safari
Guía de contribución
Línea de trabajo
Comience con la reproducción vinculada de StackBlitz Editor y verifique ambos casos de Snackbar en una pantalla táctil de iOS 11 Safari con el teclado virtual abierto. Rastree la implementación de Angular Material Snackbar a partir de la reproducción y, después, confirme que la Snackbar permanece visible en la parte inferior de la pantalla visible, por encima del teclado.
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
- 35/100