angular / angular/components

MatMenu: full size menu

Đang mở
#4,513 5 bình luận 14 reaction 0 người được giao Xem trên GitHub
area: material/menu feature needs: discussion 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ả

#### Bug, feature request, or proposal:
It would be nice to have a full-size menu option for mobile or maybe the ability to adjust the x and y locations and size (height/width) of the overlay.

The overlay is being set by the component and forces the size of the menu and the only way to change this is to extend the mdMenu to allow for specific heights and widths of the menu as well as specific positioning. Or in my case create a component from scratch to do this.

#### What is the use-case or motivation for changing an existing behavior?
My main concern with this request is that it's not in the material spec, however the angularjs version of the menu does have width options.

#### Is there anything else we should know?
If this isn't a good feature for the menu, what would be the best approach to creating a full-size mobile menu?

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

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

Hướng nghiên cứu

Issue không nêu tên file hoặc test nào. Hãy bắt đầu bằng cách xác định implementation của MatMenu overlay và xem xét cách nó hiện đang kiểm soát kích thước cũng như vị trí của menu; so sánh với các tùy chọn chiều rộng của menu AngularJS. Được xem là hoàn thành khi có một phương án được xác định và kiểm thử cho các menu mobile có kích thước đầy đủ hoặc cho phép cấu hình chiều cao, chiều rộng và vị trí của overlay.

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, mobile
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.