-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-subheader / sticky discussion #3535
Comments
Yeah. |
@rschmukler - sounds like (1) above is a bug? |
@topherfangio can you look at (1) and see if it's a bug? |
|
This is almost certainly the reason it appends to the parent. Which one do you feel is better behavior? |
The `$mdSticky` service used to stick it's contents to the parent of the `<md-content>` container. This resulted in some odd styling issues an the inability to have two lists with sticky subheaders side-by-side. This fix appends the subheaders directly to the `<md-content>` to fix this issue. Also, updated subheaders to use `<div>` tags instead of `<h2>`. fixes #3535
The `$mdSticky` service used to stick it's contents to the parent of the `<md-content>` container. This resulted in some odd styling issues and the inability to have two lists with sticky subheaders side-by-side. This fix appends the subheaders directly to the `<md-content>` to fix this issue. Also, updated subheaders to use `<div>` tags instead of `<h2>`. fixes #3535
The `$mdSticky` service used to stick it's contents to the parent of the `<md-content>` container. This resulted in some odd styling issues and the inability to have two lists with sticky subheaders side-by-side. This fix appends the subheaders directly to the `<md-content>` to fix this issue. Also, updated subheaders to use `<div>` tags instead of `<h2>`. fixes #3535
The `$mdSticky` service used to stick it's contents to the parent of the `<md-content>` container. This resulted in some odd styling issues and the inability to have two lists with sticky subheaders side-by-side. This fix appends the subheaders directly to the `<md-content>` to fix this issue. Also, updated subheaders to use `<div>` tags instead of `<h2>`. fixes #3535
now md-content must be at the top of the page: http://codepen.io/anon/pen/zvYJNB The original issue posted here can be fixed as I had shown here: #3918 |
The `$mdSticky` service used to stick it's contents to the parent of the `<md-content>` container. This resulted in some odd styling issues and the inability to have two lists with sticky subheaders side-by-side. This fix appends the subheaders directly to the `<md-content>` to fix this issue. Also, updated subheaders to use `<div>` tags instead of `<h2>`. fixes angular#3535. closes angular#4276.
I don't like how md-subheader wraps whatever I put into it an h2. There also doesn't seem to be any other option to make something sticky.
I wanted to make a card sticky (customer summary header), but no way to do it.
If you have 2 md-contents side by side with a md-subheader, this happens:
http://codepen.io/robertbaker/pen/bdLgmr
The text was updated successfully, but these errors were encountered: