angular / angular/components

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

オープン
#26,492 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: many P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、メールヒントとバリデーションエラーの手順に従って、Material input examples のURLで動作を再現します。input、select、autocomplete のホバー動作を確認し、ヒントまたは mat-error にホバーしてもコンポーネントのホバーフォーカスインジケーターがトリガーされなくなっていることを検証します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。