angular / angular/components

matPrefix element not aligned properly in form field with appearance fill and outline

オープン
#12,803 コメント 20 件 リアクション 43 件 担当者 0 名 GitHub で見る
area: material/form-field G material spec P2
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Bug, feature request, or proposal:
Bug

#### What is the expected behavior?
matPrefix Element should be aligned properly with matLabel in MatFormField with appearance set as "Fill" and "Outline"

#### What is the current behavior?
Not as expected

#### What are the steps to reproduce?
https://stackblitz.com/edit/angular-xfexy1

![image](https://user-images.githubusercontent.com/1287731/44534098-9d987900-a714-11e8-98aa-a7cb8e7aec70.png)

#### What is the use-case or motivation for changing an existing behavior?

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
6

#### Is there anything else we should know?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、リンクされた StackBlitz で Angular 6 の例を使って配置の問題を再現し、fill と outline の appearance における MatFormField 内の matPrefix に焦点を当てます。その再現から、関連する form-field のレンダリングとスタイリングを追跡します。完了の条件は、どちらの appearance でも matPrefix 要素が matLabel と正しく揃うことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。