MatMenu: full size menu
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### 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?
贡献指南
调研方向
Issue 中没有指定文件或测试。首先定位 MatMenu overlay 的实现,并检查它当前如何控制菜单的大小和位置;对比 AngularJS 菜单的宽度选项。完成的标准应是:为全尺寸移动端菜单定义并测试一种方案,或使 overlay 的高度、宽度和位置可配置。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend, mobile
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100