MatGridListModule is not working on the latest release 2.0.0-beta.12, while is working on 2.0.0-beta.11
When you call the "md-grid-list" tag in the view it should create a grid with the "md-grid-tile" boxes.
The module is correctly injected (there's no error in typescript), but when you call the
2.0.0-beta.12
It's working on the 2.0.0-beta.11
Make sure you have replaced md-grid-list with mat-grid-list. As part of beta.12, all the md- prefixes have been removed.
<mat-grid-list cols="4" rowHeight="100px">
<mat-grid-tile
*ngFor="let tile of tiles"
[colspan]="tile.cols"
[rowspan]="tile.rows"
[style.background]="tile.color">
{{tile.text}}
</mat-grid-tile>
</mat-grid-list>
See this StackBlitz to have a working example.
Make sure to read the changelog and specially the breaking changes before creating an issue
Sorry, my fault. Thanks
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Make sure you have replaced
md-grid-listwithmat-grid-list. As part of beta.12, all themd-prefixes have been removed.See this StackBlitz to have a working example.