Description
Bug, feature request, or proposal:
Bug.
What is the expected behavior?
MatMenu
should appear and stay on screen after opening.
What is the current behavior?
MatMenu
shows, but just after the fade in animation ends, it becomes invisible. It's still there, and you can still select items, but it's invisible.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-xf5tdi?file=app%2Fmenu-overview-example.html
Above example is taken from the official documentation, but instead of two items there are sixteen now.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
This happens (at least) on iOS 11.2. with Angular 6.0.3, Angular-Material 6.2.0 and Mobile Safari
Is there anything else we should know?
It appears to be Mobile Safari's fault. Changing .mat-menu-panel
style to overflow: initial
and then back to overflow: auto
fixes the issue (that's the workaround I'm using). I'm reporting this here anyhow, since Apple updates their browser once a year at most.