bug(form-field): mat-form-field text overlap with suffix icon
- 主要言語
- 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 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
コントリビューションガイド
調査の方向性
リンクされている StackBlitz のエントリーポイント src/example/form-field-appearance-example.html から始め、長い mat-form-field ラベルとサフィックスアイコンを使って Chrome で重なりを再現します。関連する Angular Material form-field の動作を追跡し、長いテキストがアイコンと重ならなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100