angular / angular/components

Dialog with fixed height less than 100% has 2 scrollbars

Đang mở
#6,584 13 bình luận 14 reaction 0 người được giao Xem trên GitHub
area: material/dialog P3
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

#### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với bản tái hiện Plunker được liên kết và phần triển khai hộp thoại Material. Xác nhận hiện tượng có hai thanh cuộn khi chiều cao cố định nhỏ hơn 100%, sau đó kiểm tra rằng hộp thoại chỉ có thanh cuộn của nội dung trên các trình duyệt bị ảnh hưởng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
angular, typescript
Lĩnh vực
frontend
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.