angular / angular/components

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

Aperta
#26,492 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area: many P4
Lingua principale
TypeScript
Stelle
25k
Fork
6.8k
Merge medio
1g 8h
PR unite (30g)
91

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia riproducendo il comportamento all’URL degli esempi di input Material, seguendo i passaggi relativi al suggerimento per l’email e all’errore di validazione. Esamina il comportamento al passaggio del mouse su input, select e autocomplete e verifica che il passaggio del mouse su un suggerimento o su mat-error non attivi più l’indicatore di focus al passaggio del mouse del componente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
angular, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.