md-grid-list not working in 0.10.0 but works in 0.8.3
Same parameters produce proper md-grid-list in Angular Material 0.8.3 but when I upgrade to 0.10.0 it fails. I found the difference in generated HTML. For some reason the 0.10.0 version calculates the padding-bottom with 0 multiplier. Is this a known bug. I need md-menu with $mdOpenMenu(), it doesn't seem to work in 0.8.3 version.
Can someone please if $mdOpenMenu() works in 0.8.3 or if there is a work around for the md-grid-list in 0.10.0 version?
version 0.10.0
style="padding-bottom: calc(((25% - 3px) * 0) + -4px);"
version 0.8.3
style="padding-bottom: calc(((25% - 3px) * 3) + 8px);" Below is the md-grid-list parameters passed
<md-grid-list
md-cols-sm="1"
md-cols-md="2"
md-cols-gt-md="4"
md-row-height-gt-md="1:1"
md-row-height="4:3"
md-gutter="8px"
md-gutter-gt-sm="4px">
</md-grid-list>
Below are the generated html for each version.
version 0.10.0
<md-grid-list md-cols-sm="1" md-cols-md="2" md-cols-gt-md="4"
md-row-height-gt-md="1:1" md-row-height="4:3"
md-gutter="8px" md-gutter-gt-sm="4px" class="ng-isolate-scope"
role="list"
style="padding-bottom: calc(((25% - 3px) * 0) + -4px);">
</md-grid-list>
version 0.8.3
<md-grid-list md-cols-sm="1" md-cols-md="2" md-cols-gt-md="4"
md-row-height-gt-md="1:1" md-row-height="4:3" md-gutter="8px"
md-gutter-gt-sm="4px" class="ng-isolate-scope" role="list"
style="padding-bottom: calc(((25% - 3px) * 3) + 8px);">
</md-grid-list>
I figured out the issue. In 0.10.0, it expects the tile to be immediate child to grid-list whereas 0.8.3 was lenient in this regard. So closing.