bug(form-field): mat-form-field text overlap with suffix icon
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par le point d’entrée StackBlitz lié, src/example/form-field-appearance-example.html, et reproduisez le chevauchement dans Chrome avec un libellé mat-form-field long et une icône de suffixe. Suivez le comportement associé de Angular Material form-field et vérifiez que le texte long ne chevauche plus l’icône.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100