angular / angular/components

bug(mat-dialog): element with fixed position jumps when dialog opens.

オープン
#23,851 コメント 7 件 リアクション 1 件 担当者 0 名 GitHub で見る
area: cdk/overlay P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Reproduction

Use StackBlitz to reproduce your issue:
- Components: https://stackblitz.com/edit/angular-eyckbt?file=src/app/dialog-overview-example-dialog.html

Steps to reproduce:
1. Just open dialog which contains element with fixed position inside it.


#### Expected Behavior
Element is positioned correctly when dialog opens.

#### Actual Behavior
Element jumps from one position to correct one.
![fixed_element_jump_in_dialog](https://user-images.githubusercontent.com/32300784/139259476-f0b4f31d-9037-42eb-a975-564b4c4cf41f.gif)

#### Environment

- Angular: in stackblitz link
- CDK/Material: in stackblitz link
- Browser(s): Chrome v94
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 latest

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

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

調査の方向性

Start with the linked StackBlitz reproduction and inspect src/app/dialog-overview-example-dialog.html, then reproduce the jump in Chrome v94 when opening the dialog. Trace the dialog's positioning behavior for the fixed-position element; done means the element is correctly positioned immediately when the dialog opens without regressing other dialog behavior.

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

評価

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

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

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