Skip to content

Broken nested MatGridList #13074

@pupizoid

Description

@pupizoid

Bug, feature request, or proposal:

Bug

What is the expected behavior?

mat-grid-tile should take cols attribute from closest mat-grid-list element

What is the current behavior?

The cols attribute value is taken from the furthest mat-grid-list which makes impossible nesting one list to another with different settings.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-ra3y88

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular-devkit/architect 0.7.1
@angular-devkit/build-angular 0.7.1
@angular-devkit/build-optimizer 0.7.1
@angular-devkit/build-webpack 0.7.1
@angular-devkit/core 0.7.1
@angular-devkit/schematics 0.8.1
@angular/cdk 6.4.7
@angular/cli 6.2.1
@angular/material 6.4.7
@ngtools/webpack 6.1.1
@schematics/angular 0.8.1
@schematics/update 0.8.1
rxjs 6.3.2
typescript 2.9.2
webpack 4.9.2

Is there anything else we should know?

This is broken after update @angular/material from 6.4.6 to 6.4.7

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions