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

md-menu: saves position on first opening and does not position according to target item on windows resize #3204

Closed
kschwidder opened this issue Jun 10, 2015 · 2 comments
Assignees
Milestone

Comments

@kschwidder
Copy link

Problem:
It seems that md-menu is saving the internal absolute position from the first opening instead of the current item. Therefore on resizing the window the menu is misaligned with the target.

Scenario:

  1. Open md-menu and close it again.
  2. Resize window to min or max.
  3. Open md-menu again. It will show up according to the first absolute position and not according to the given target
@jozsi
Copy link

jozsi commented Jun 10, 2015

+1

@MrBlenny
Copy link

Additionally, if you scroll the menu stays fixed on the screen and does not scroll:
http://i.imgur.com/1JxnbVu.png - view when not scrolled
http://i.imgur.com/OcT5A6l.png - after scrolling

The position of the 'md-open-menu-container' should be changed to absolute?

@rschmukler rschmukler self-assigned this Jun 11, 2015
@rschmukler rschmukler added this to the 0.10.0 milestone Jun 11, 2015
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

4 participants