Feature Request
xPosition should accept the paramter 'center' .
This new position will center the menu horizontally in relation to the trigger.
xPosition only accepts the parameters 'before' or 'after'.
https://material.angular.io/components/menu/api
The component mat-menu becomes more flexible.
Angular: 5.2.2
Material: 5.1.0
TypeScript: 2.6.2
Adding support for it is only a matter of passing in another value to the ConnectedPositionStrategy, but the issue is that supporting it deviates from the spec and may end up looking weird.
Ah too bad.
Here is an example with an arbitrary x-position https://play.google.com/store.
When you click on the "Google-Apps" button in the top right a dropdown menu appears.
That's basically what I want to achieve.

@MJomaa, it seems you want a kind of popover, which is not planned to be added to Material.
You have currently two options:
@julianobrasil Looks good thanks!
Also there is a third option:
I also need this kind of behavior and I will look into @MJomaa temporary solution.
I don't agree that this is a kind of custom popover...and the cdk overlay can be kind of overwhelming, especially if you just want to display a few simple menu elements.
So some options to tune the position a little further would be nice.
Closing as it was noted in an above comment, center positioning of a menu is not conformant to the spec.
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
@julianobrasil Looks good thanks!
Also there is a third option:
Set/Override the margin and transform-origin for each mat-menu individually.