angular / angular/components

bug(input, select, autocomplete): wrong hover indicator on hover error and hint

Abierto
#26,492 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area: many P4
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

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

_No response_

### Description

If a user hovers over a hint or an error message, the hover focus indicator of the component is triggerd.

![inputs-error-and -hint](https://user-images.githubusercontent.com/27373333/214421520-020d0d6e-a529-4473-9047-3f6492b4bfe6.gif)

![inputs-hint](https://user-images.githubusercontent.com/27373333/214419823-e1fc36d9-721c-4ecd-b162-f2987a943b3b.gif)

![inputs-error](https://user-images.githubusercontent.com/27373333/214419917-3d205494-1e52-41ba-a39d-29e3a69056f4.gif)

(blank error message...)

### Reproduction

Steps to reproduce:
1. https://material.angular.io/components/input/examples
2. hover over email hint, force email validation error, hover over mat-error

### Expected Behavior

no hover focus indicator for components if hover on hint or error message

### Actual Behavior

hover focus indicator for components if hover on hint or error message

### Environment

- Angular: 15.1.1
- CDK/Material: 15.1.1
- Browser(s): all
- Operating System (e.g. Windows, macOS, Ubuntu): all

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza reproduciendo el comportamiento en la URL de ejemplos de input de Material, siguiendo los pasos del correo electrónico de ayuda y del error de validación. Inspecciona el comportamiento al pasar el cursor sobre input, select y autocomplete, y verifica que pasar el cursor sobre una ayuda o sobre mat-error ya no active el indicador de foco al pasar el cursor del componente.

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
38/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.