Datepicker: When selecting a month in a year/month mode, the day selection flashes on click
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### Reproduction
https://stackblitz.com/angular/kgvngvkblme?file=src%2Fapp%2Fdatepicker-views-selection-example.ts
Steps to reproduce:
1. Click on the calendar icon
2. Select a year
3. Select a month
This is actually the example from https://material.angular.io/components/datepicker/overview, although I found it more noticeable in my app
#### Expected Behavior
The datepicker calendar should close immediately.
#### Actual Behavior
When clicked on the month, the calendar briefly switches into monthly view (therefore displaying all the weeks and days), before closing.
#### Environment
- Angular: 10.2.0
- CDK/Material: 10.2.5
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): macOS
Guía de contribución
Línea de trabajo
Comienza con la reproducción de StackBlitz, especialmente con src/app/datepicker-views-selection-example.ts, y reproduce la selección de año y luego de mes en el Angular datepicker. Sigue la transición después de seleccionar el mes y verifica que el calendario se cierre inmediatamente sin mostrar brevemente la vista de días.
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
- 30/100