material icon indicating copy to clipboard operation
material copied to clipboard

md-grid-list first render is broken with limited width

Open leolozes opened this issue 10 years ago • 5 comments

I've been playing around with the md-grid-list component. It usually works fine, but when the width of the screen is small, the first rendering is broken. If you resize the window and then get it back at the original width, it scales well, but when you refresh the page, the rendering is broken again.

You can see it in the gridList demo

You can see the (not very well done) video here: https://goo.gl/Um7ZL6

leolozes avatar Feb 17 '16 17:02 leolozes

+1. Same problem here

troig avatar Feb 18 '16 10:02 troig

+1. The problem is also true on Iphone 6. Vertical view = narrow screen width, and horizontal view = resizing.

iPhone 6 (MG4F2QN/A) Operating system: iOS 9.1 (13B143) Browser: Safari 9.0 Mobile

Hammild avatar Feb 29 '16 11:02 Hammild

@DevVersion Can you take a look please?

topherfangio avatar Mar 26 '16 00:03 topherfangio

The problem is, that there is only space for one column.

angular.js:12520 md-grid-list: Tile at position 0 has a colspan (2) that exceeds the column count (1)

devversion avatar Mar 26 '16 10:03 devversion

@topherfangio Fixed it :)

devversion avatar Mar 26 '16 12:03 devversion