bug(form-field): mat-form-field text overlap with suffix icon
- 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
when having mat-form-field with long label text the text overlap with suffix icon
### Reproduction
StackBlitz link: [https://stackblitz.com/edit/sktdb4nx-laqmu1py?file=src%2Fexample%2Fform-field-appearance-example.html](https://stackblitz.com/edit/sktdb4nx-laqmu1py?file=src%2Fexample%2Fform-field-appearance-example.html)
Steps to reproduce:
1. just put a long text on a mat-form-field with suffix icon
### Expected Behavior
no overlap with long text
### Actual Behavior

the text overlaps with the icon
### Environment
- Angular: 19.2.15
- CDK/Material: 19.2.15
- Browser(s): chrome
- Operating System (e.g. Windows, macOS, Ubuntu): windows
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với entry point StackBlitz được liên kết, src/example/form-field-appearance-example.html, và tái hiện hiện tượng chồng lấp trong Chrome bằng một nhãn mat-form-field dài với một biểu tượng hậu tố. Theo dõi hành vi liên quan của Angular Material form-field và xác minh rằng văn bản dài không còn chồng lên biểu tượng.
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
- 45/100