bug(form-field): mat-form-field text overlap with suffix icon
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne mit dem verlinkten StackBlitz-Einstiegspunkt src/example/form-field-appearance-example.html und reproduziere die Überlappung in Chrome mit einem langen mat-form-field-Label und einem Suffix-Icon. Untersuche das damit zusammenhängende Verhalten von Angular Material form-field und verifiziere, dass der lange Text das Icon nicht mehr überlappt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100