bug(autocomplete, select): should leave extra space when positioned above outlined form-field
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### 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
コントリビューションガイド
調査の方向性
Angular 16 と CDK/Material 16 を使用したリンク先の StackBlitz の再現から始め、outlined form-field に対して overlay がその上に開いたときの autocomplete と select の位置決めの動作を調査します。再現で示されている重なりを確認し、問題を修正したときにラベルが読みやすいままであることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100