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-select moves DOM elements and puts them back in the wrong position #2456

Closed
@guzza

Description

@guzza

When md-select gets opened it rearranges the DOM and the layout goes crazy.
The layout of the site is <body layout="row"> with 2 main children one being <md-sidenav> and second being the main <div layout="column" layout-fill role="main" ui-view="main"></div> where the Angular injects the view. md-select is located inside the <div ui-view="main".

First screenshot is before md-select is opened
screen shot 2015-04-21 at 16 51 44

This screenshots is while its open
screen shot 2015-04-21 at 16 52 06

And finally when md-select is closed we can see the action moved the <div ui-view="main"> to the top effectively moving the <md-sidenav> from left to right because of the flex layout ordering.
screen shot 2015-04-21 at 16 52 18

Metadata

Metadata

Assignees

Labels

needs: demoA CodePen demo or GitHub repository is needed to demonstrate the reproduction of the issuetype: bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions