bug(autocomplete, select): should leave extra space when positioned above outlined form-field
- 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 the autocomplete or select is positioned above an outlined form-field (due to insufficient space on the bottom), it overlaps the label. Ideally we would add some additional space when positioning above so that the label is still legible.
### Reproduction
StackBlitz link: https://stackblitz.com/edit/6pam3o
Steps to reproduce:
1. Click inside form-field
2. Observe that autocomplete overlaps the label
### Expected Behavior
Label should be legible while select/autocomplete is open
### Actual Behavior
select/autocomplete obscures label
### Environment
- Angular: 16
- CDK/Material: 16
- Browser(s): All
- Operating System (e.g. Windows, macOS, Ubuntu): All
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la reproduction StackBlitz liée utilisant Angular 16 et CDK/Material 16, puis examinez le comportement du positionnement de autocomplete et select pour un outlined form-field lorsque l’overlay s’ouvre au-dessus de celui-ci. Confirmez le chevauchement montré dans la reproduction et vérifiez que le label reste lisible lorsque le problème est corrigé.
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