Skip to content

md-menu when posted does not maintain its position relative to trigger button after scrolling. #1879

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

Closed
cwjolly opened this issue Nov 15, 2016 · 2 comments

Comments

@cwjolly
Copy link

cwjolly commented Nov 15, 2016

Bug, feature request, or proposal:

This is a bug. I discovered this when trying to scroll a div under a fixed header with the menu posted to the screen. the trigger buttons scroll but the menu does not. Plunker shows issue

What is the expected behavior?

the posted menu should maintain it positon relative to the trigger button regardless of scrolling

What is the current behavior?

plunker : http://plnkr.co/edit/tvRKbZCOku9Rk4tQ97nW?p=preview

  1. click menu button then scroll the view port the menu maintains its position relative to the
    viewport not the trigger button.
    Alternatively
  2. Scroll menu up the screen then click trigger button . Menu appears where the trigger button orignally appeared.

What are the steps to reproduce?

Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: http://plnkr.co/edit/o077B6uEiiIgkC0S06dd

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

obvious from plunker. Even if you somehow force menu to unpost when scrolling the next time
you post the menu it is still posting to old positon. Makes scrolled content with menu unusable.

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

I assume plunker has latest. However, my project is usiing angular 2.1.0 and material : experimental

Is there anything else we should know?

seems like a serious bug .

@cwjolly cwjolly changed the title md-menu when posted does not maintain its position relative to trigger button. md-menu when posted does not maintain its position relative to trigger button after scrolling. Nov 15, 2016
@jelbourn
Copy link
Member

Tracked via #1430

@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 5, 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