angular / material

Material design for AngularJS
https://material.angularjs.org/
MIT License
16.55k stars 3.39k forks source link

grid-list: md-cols attribute was not found, or contained a non-numeric value #11006

Open weasnerb opened 6 years ago

weasnerb commented 6 years ago

Hello Angular Team!

This is a very easy to reproduce bug that is preventing the grid list to initialize when the OS has Screen scaling at 125%, 150%, and 175% and the browser window is set to a width of 1,279px. Specifically at this size it seems that some of the layout like hide-gt-sm also seems to break

The error is : md-grid-list: md-cols attribute was not found, or contained a non-numeric value I believe that this is somewhat similar to issue 6381

To Reproduce:

AngularJS Versions: *

Additional Information:

Thanks!

fnmut commented 6 years ago

Also getting this issue on Win7 / Chrome

BobDankert commented 6 years ago

I am also seeing this issue. Win10, Chrome

fnmut commented 6 years ago

I resolved this issue by setting an md-cols attribute (no size) to the md-grid-list

weasnerb commented 6 years ago

I tried adding a md-cols as mentioned, and it did not fix my issue with grid list.