bug(material/sort): hover hint arrow on an unsorted header shows the active sort direction, not the resulting direction after click.
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- angular, angularjs, typescript
- Área
- frontend
Línea de trabajo
Empieza por el componente de ordenación de Material y sus pruebas, siguiendo el comportamiento de la flecha indicadora al pasar el cursor sobre un encabezado sin ordenar cuando otra columna tiene una dirección de ordenación activa. Compara la dirección del indicador con la dirección inicial configurada para el encabezado (matSortStart, que por defecto es asc). La tarea estará terminada cuando el indicador de la columna Fat apunte hacia arriba antes de hacer clic y coincida con la dirección que produce el clic.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
18
Description
The hint arrow on an unsorted header uses the table's current direction, but a click sorts that header in its start direction (matSortStart, asc by default).
Last worked as expected on v18. Which can be seen on the docs page.
https://material.angular.dev/components/sort/overview (bugged)
https://v18.material.angular.dev/components/sort/overview (working)
Reproduction
This can be reproduced on the docs page.
https://material.angular.dev/components/sort/overview
- Sort the Calories column desc.
- Hover the Fat column.
- Note the direction of the hover hint arrow.
- Click the Fat column to sort.
- NOT sorted how the hint from three (3) suggested it would be.
Expected Behavior
At step three in the reproduction description, the hover hint arrow should be pointed up.
Actual Behavior
At step three in the reproduction description, the hover hint arrow is pointed down.
Environment
- Angular: latest
- CDK/Material: latest
- Browser(s): all
- Operating System (e.g. Windows, macOS, Ubuntu): all
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 12 h
- PR fusionados (30 d)
- 94
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de angular/components
-
bug(mat-date-picker): month shown twice in date pickerPosiblemente ocupada @PreethiPantangi la tomó hace 17 días. Abiertoarea: material/datepicker P4
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
angular/components#33763 · 2 comentarios · 3 reacciones ·
Los mantenedores suelen responder en 1 día
-
Bug in table.scss footer cell height: unset instead of footer row height unsetPosiblemente ocupada @minwookshin la tomó hace 4 días. Abiertoarea: material/table P4
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
angular/components#33709 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
docs-bug(Table): Add example with `rowspan`Posiblemente ocupada @BHUVANSH855 la tomó hace 85 días. Abiertoarea: material/table docs P4
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
angular/components#33455 ·
Los mantenedores suelen responder en 1 día
-
bug(date-adapter): Misleading JSDoc for createDate returns typePosiblemente ocupada @BHUVANSH855 la tomó hace 134 días. Abiertoarea: material/core P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
angular/components#33059 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug(DIALOG): dialog's container-color does not follow Material 3 design specsPosiblemente ocupada @jjalbuenacabuyao la tomó hace 494 días. Abiertoarea: material/dialog P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
angular/components#30536 · 3 reacciones ·
Los mantenedores suelen responder en 1 día
Todos los issues de angular/components
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
farbenmeer/tapi#531 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
naver/egjs-flicking#971 ·
-
Renderer treats a sub-pixel width difference as a resize, which cancels the `motion()` entranceAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Tenant
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
MTES-MCT/Dossier-Facile-Frontend#2061 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
backnotprop/plannotator#1784 ·
Los mantenedores suelen responder en 1 día