angular / angular/components

FormField outline border wrong on Google chrome with lower zoom than 100%

Đang mở
#24,409 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
area: material/form-field 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

Angular material form field outline gap border is bigger with 1px than mat-form-field-outline-start, mat-form-field-outline-end classes border.

### Reproduction

Steps to reproduce:
1. Open form field outline with google chrome
2. Set zoom to 90%
3. Take hover on form field

### Expected Behavior

Same border width on outline form field.

### Actual Behavior

![form_field_outline](https://user-images.githubusercontent.com/28343464/153829127-f5b3b80c-04a1-4525-a2bf-11b58e3df6d7.png)

### Environment

- Angular: 13.2.2
- CDK/Material: 13.2.2
- Browser(s): Google Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

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

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

Hướng nghiên cứu

Tái hiện hành vi của trường biểu mẫu outline trong Google Chrome ở mức thu phóng 90% bằng Angular Material 13.2.2 trên Windows 10, sau đó xác định phần triển khai chịu trách nhiệm cho outline gap và các lớp border của nó. Hoàn thành khi outline gap và các border mat-form-field-outline-start/end có cùng độ rộng trong khi hover ở mức thu phóng giảm.

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
42/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.