Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong position of a MdMenu on a fixed button on mobile devices #6396

Closed
seopei opened this issue Aug 10, 2017 · 2 comments
Closed

Wrong position of a MdMenu on a fixed button on mobile devices #6396

seopei opened this issue Aug 10, 2017 · 2 comments

Comments

@seopei
Copy link

seopei commented Aug 10, 2017

Bug, feature request, or proposal:

bug

What is the expected behavior?

the menu should be completely visible

What is the current behavior?

the menu position is wrong, the menu is not completely visible

What are the steps to reproduce?

the bug only appears on mobile devices

<style type="text/css">
    .my-button {
      display: inline-block;
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 2;
    }
  </style>
  
  <md-menu #createMenu="mdMenu" y-position="above" x-position="before">
    <button *ngFor="let a of [1,2,3]" md-menu-item>
      {{ 'Button ' + a }}
    </button>
  </md-menu>
  <button class="my-button" md-fab [mdMenuTriggerFor]="createMenu" color="primary">+</button>

What is the use-case or motivation for changing an existing behavior?

the user wants to see the full menu

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

angular 4.3.2, angular material 2.0.0-beta.8, typescript 2.4.2, mobile safari, mobile chrome

Is there anything else we should know?

screenshot_20170810-120035
image uploaded from ios

@josephperrott
Copy link
Member

Closing as this is tracking in #6534

@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants