angular / angular/components

feat(BottomSheet): Allow custom container/overlay in which to render the bottom sheet

Đang mở
#21,592 2 bình luận 7 reaction 0 người được giao Xem trên GitHub
area: cdk/overlay area: material/bottom-sheet feature P4
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ả

#### Feature Description

Allow uses to customize where the bottom sheet is attached, other than the body.

#### Use Case

Single page web applications have many components, it would be nice to association the bottom sheet with specific components visually.

This is similar to https://github.com/angular/components/issues/7764. Both components define a viewContainerRef, however that does nothing in regards to bottom sheet placement with in the DOM.

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

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

Hướng nghiên cứu

Bắt đầu bằng cách đọc phần triển khai bottom-sheet của Angular Material và cách phần này xử lý viewContainerRef, sau đó so sánh các yêu cầu về vị trí với issue Angular components được liên kết. Công việc được xem là hoàn tất khi các ứng dụng có thể chọn một container và overlay tùy chỉnh thay vì luôn gắn bottom sheet vào body.

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.