Proposal: remove background-color from .mat-drawer-container
- 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, feature request, or proposal:
Proposal: remove `background-color` from `.mat-drawer-container`
#### What is the expected behavior?
The common background that I've set in my app appears on a page with a drawer
#### What is the current behavior?
Putting a drawer on a page requires putting the page contents inside `md-drawer-container` which comes with `background-color` set that overrides any app background that's been set.
#### What are the steps to reproduce?
Add a drawer to a page with a non-standard background
#### What is the use-case or motivation for changing an existing behavior?
Overlays for drawers and sliders are typically supposed to block the majority of the UI. IMHO material shouldn't be providing a background-color for this majority.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
2.0.0-beta.10
#### Is there anything else we should know?
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách tìm `.mat-drawer-container` trong các style của Angular Material và entry point của component `md-drawer-container`, sau đó tái hiện vấn đề với background không theo chuẩn của app và một drawer. Công việc được xem là hoàn tất khi background của app vẫn hiển thị phía sau nội dung trang drawer mà không làm hỏng hoạt động của drawer, đồng thời các test liên quan đã được cập nhật hoặc thêm mới nếu khu vực đó có coverage.
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
- Tính năng
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 48/100