bug(mat-label): mat-label overlap control and does not show ellipsis
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### Is this a regression?
- [X] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
I'm not 100% sure, but it worked before
### Description
The `mat-label` does not wrap the text with ellipsis anymore in the `mat-datepicker`. Instead the text goes over the icon/control itself.

```
To long to show all text
```
### Reproduction
Steps to reproduce:
1. Simple add create a mat-datepicker with a mat-label with new version 15.x
[Stackblitz](https://stackblitz.com/edit/angular-cv9udr-pxxmf6?file=src/app/datepicker-overview-example.ts) is available
### Expected Behavior
Before the text was trimmed with ellipsis like this:

### Actual Behavior
Now is go outside the control/over the icon:

### Environment
- Angular: 15.0.4
- CDK/Material: 15.0.3
- Browser(s): (Chrome, Edge, Firefox)
- Operating System: MacOS
コントリビューションガイド
調査の方向性
リンクされている StackBlitz の再現手順から始め、Angular 15 における mat-datepicker と mat-form-field のラベルの動作を以前のバージョンと比較します。datepicker toggle の横に mat-label がどのようにレンダリングされるかを追跡し、長いラベルがコントロールと重ならずに省略記号で表示されることを確認して、再現したケースのリグレッションカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100