-
Notifications
You must be signed in to change notification settings - Fork 3.4k
md-tabs md-dynamic-height issue #3184
Comments
There is an issue here, but it is not as you described. The JS has a step where it converts optional scope variables to boolean, so the first code sample is correct; however, the CSS was not tied to that same logic. I'm adding a fix right now. |
So from now, you need to add md-dynamic-height='true' attribute to md-tabs element? - md-tabs(md-dynamic-height md-border-bottom)
+ md-tabs(md-dynamic-height='true' md-border-bottom) |
@dolohow This is definitely not the case, as seen here: http://codepen.io/robertmesserle/pen/ad61c7175f501cdb3c6196605607af9e |
I modified resources to point to https://ajax.googleapis.com/ajax/libs/angular_material/0.10.0/angular-material.min.js and now the tabs are aligned to center and there is a weird behaviour of animation when changing the active tab, take a look. Anyway it's not related with this issue and definetely not with my issue. |
Hm, that's really weird - good catch! Oddly, it only seems to happen with the version in googleapis, so if you pull v0.10.0 from bower or npm, it works fine. I'll have to look into what went wrong with the deploy to google cdn. |
Well, I tried the version from bower and it looks like it's also affected, the only one that works is https://gitcdn.xyz/repo/angular/bower-material/v0.10.0/angular-material.min.js |
Yeah, I'm noticing the same problem and as dolohow said the version at gitcdn.xyz seems to be unaffected. |
md-dynamic-height should be a boolean as per the docs but it is just looking for the existence of the attribute and then setting the dynamic height to true.
should this not be
The text was updated successfully, but these errors were encountered: