components
components copied to clipboard
MatMenu: full size menu
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?
It would also be nice if we could set it to attach to another element. eg. have the "Open Menu" trigger at the bottom of the page but have the acctual menu open at top.
(revisiting old issues)
I think this is actually something we should eventually explore for all overlay-based components (menu, select, etc.). We already support it in the datepicker with the touchUi option. That said, I don't see us getting to this any time in the near future.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage.
We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
You can find more details about the feature request process in our documentation.
(revisiting old issues)
I think this is actually something we should eventually explore for all overlay-based components (menu, select, etc.). We already support it in the datepicker with the
touchUioption. That said, I don't see us getting to this any time in the near future.
That's the first thing I was googleing for: matmenu touchui