angular / angular/components

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

Đang mở
#26,492 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area: many P4
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện hành vi tại URL về các ví dụ input của Material, làm theo các bước về gợi ý email và lỗi xác thực. Kiểm tra hành vi khi di chuột qua input, select và autocomplete, đồng thời xác minh rằng việc di chuột qua một gợi ý hoặc mat-error không còn kích hoạt chỉ báo tiêu điểm khi di chuột của component.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.