This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-subheader only works if at top of page #4420
Milestone
Comments
topherfangio
added a commit
that referenced
this issue
Sep 3, 2015
If the subheader's parent `<md-content>` was not the top-level item, the stickied subheader would be incorrectly positioned further down the page. Also added more tests to toolbar and fixed issue to ensure subheader works with a toolbar using `md-scroll-shrink`. Fixes #4420. References #2825. Closes #4439. Conflicts: src/components/toolbar/toolbar.js src/components/toolbar/toolbar.spec.js
kennethcachia
pushed a commit
to kennethcachia/material
that referenced
this issue
Sep 23, 2015
If the subheader's parent `<md-content>` was not the top-level item, the stickied subheader would be incorrectly positioned further down the page. Also added more tests to toolbar and fixed issue to ensure subheader works with a toolbar using `md-scroll-shrink`. Fixes angular#4420. References angular#2825. Closes angular#4439.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here's the test/proof http://codepen.io/anon/pen/zvYJNB
It seems to keep traveling up through every parent
Edit: more analysis brings me to this line
Edit2: Since moving to v0.11, it also breaks toolbars that aren't at the top. Seems to be related to $mdSticky
The text was updated successfully, but these errors were encountered: