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-subheader loses ng-if child elements when becoming sticky on Chrome #8500

@deceze

Description

@deceze

Actual behavior:
Using an md-subheader which contains elements dynamically hidden or shown using ng-if, the dynamic elements vanish when the header becomes sticky. It appears the sticky clone of the header does not evaluate and/or update its content. This is reproducible in Chrome, though in Safari it works as expected.

CodePen:
http://codepen.io/anon/pen/ONeMrm?editors=1000

Angular Versions:

  • Angular Version: 1.4.9
  • Angular Material Version: noticed in 1.0.3, continues in latest version

Additional Information:

  • Browser Type: Chrome
  • Browser Version: 50.0.2661.102
  • OS: OS X 10.11.5

Metadata

Metadata

Assignees

Labels

has: Pull RequestA PR has been created to address this issueneeds: investigationThe cause of this issue is not well understood and needs to be investigated by the team or community

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions