bug(mat-hint & mat-error): Font scaling breaks layout of mat-hint and validation messages
- 主要言語
- 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 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
コントリビューションガイド
調査の方向性
src/example/form-field-appearance-example.html の StackBlitz reproduction から始め、Chrome または Edge でブラウザーのフォントサイズを非常に大きくして問題を再現します。入力フィールド周辺の mat-hint と mat-error のレイアウトを追跡します。完了の条件は、それらのテキストがフィールドとの関連を保ち、隣接するコンテンツと重なったり、読めなくなったりしないことです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- accessibility, frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100