angular / angular/components

FormField outline border wrong on Google chrome with lower zoom than 100%

オープン
#24,409 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
area: material/form-field P4
主要言語
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

Angular material form field outline gap border is bigger with 1px than mat-form-field-outline-start, mat-form-field-outline-end classes border.

### Reproduction

Steps to reproduce:
1. Open form field outline with google chrome
2. Set zoom to 90%
3. Take hover on form field

### Expected Behavior

Same border width on outline form field.

### Actual Behavior

![form_field_outline](https://user-images.githubusercontent.com/28343464/153829127-f5b3b80c-04a1-4525-a2bf-11b58e3df6d7.png)

### Environment

- Angular: 13.2.2
- CDK/Material: 13.2.2
- Browser(s): Google Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

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

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

調査の方向性

Windows 10 上で Angular Material 13.2.2 を使用し、Google Chrome のズーム 90% 時における outline form-field の動作を再現してから、outline gap とその border クラスを担当する実装を特定します。ズームを縮小した状態で hover 中に outline gap と mat-form-field-outline-start/end の border が同じ幅になれば完了です。

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

評価

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

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

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