angular / angular/components

Dialog with fixed height less than 100% has 2 scrollbars

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

説明

#### Bug

#### What is the expected behavior?
Dialog with fixed height, that is less than 100% to have only one scroll bar - for content section.

#### What is the current behavior?
Dialog has 2 scrollbars - 1 for content and 1 for the whole dialog.

#### What are the steps to reproduce?
https://plnkr.co/edit/1teyLZLR7MVsrZLPD94V?p=preview

#### What is the use-case or motivation for changing an existing behavior?
2 scrollbars is weak user-experience.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Browsers: Chrome (Windows 10, Lunix Ubuntu 16.04 LTS), IE11 (Windows 10)
Material: 2.0.0-beta.6, 2.0.0-beta.8
OS, Typescript - not applicable

#### Is there anything else we should know?
Probably the same is applicable to fixed width, but lets not noise the issue with it.

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

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

調査の方向性

リンクされている Plunker の再現と Material ダイアログの実装から始めます。100% 未満の固定された高さで 2 つのスクロールバーが表示される動作を確認し、その後、影響を受けるブラウザーでダイアログにコンテンツのスクロールバーだけがあることを検証します。

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

評価

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

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

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