Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-menu-bar: md-menu-content wrongly placed inside of md-tab #4613

@frapontillo

Description

@frapontillo

When putting a md-menu-bar inside a md-tab-body of a md-tabs, by clicking on a md-menu button, the md-menu-content (the menu item sub-list) is wrongly placed at the center of the tab, and not next to the button that triggered it open.

To replicate this, I have forked the menu bar demo at this codepen and simply put the whole thing inside a tab, then add some more text on top of the tab.

It looks like the div.md-open-menu-container is placed using relative positioning from the triggering element, while it should be based on absolute positioning with regards to the whole document.

This is the outcome:
screenshot 2015-09-13 18 34 23

This happens with angular-material 0.11.0.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions