bug(mat-hint & mat-error): Font scaling breaks layout of mat-hint and validation messages
- 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 font scaling is increased (e.g. via browser/system settings), `mat-hint` and validation messages (`mat-error`) for input fields overflow into the next content block, breaking layout and readability.
### Reproduction
StackBlitz link: https://stackblitz.com/edit/vjrf1ddz?file=src%2Fexample%2Fform-field-appearance-example.html
Steps to reproduce:
1. Increase font size in browser settings to very big.
2. Observe how hint and error messages overlap or push into adjacent content.
### Expected Behavior
- Hint and error messages should remain visually associated with their input fields.
- Layout should adapt to font scaling without breaking structure.
### Actual Behavior
- Text overflows or overlaps with unrelated content.
- Layout becomes confusing or unreadable.
### Environment
- Angular: 20.0.3
- CDK/Material: 20.0.3
- Browser(s): Microsoft Edge, Google Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la reproduction StackBlitz dans src/example/form-field-appearance-example.html et reproduisez le problème en utilisant une très grande taille de police du navigateur dans Chrome ou Edge. Suivez la mise en page de mat-hint et mat-error autour des champs de saisie ; c’est terminé lorsque leur texte reste associé aux champs sans chevaucher le contenu adjacent ni devenir illisible.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- accessibility, frontend
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 42/100