material icon indicating copy to clipboard operation
material copied to clipboard

md-grid-list is broken in Safari

Open delad77 opened this issue 11 years ago • 7 comments

Hi,

All the simple md-grid-list demos don't work on Safari. Just open the following: https://material.angularjs.org/#/demo/material.components.gridList

It happens on iOS and desktop alike. Desktop is better. It is currently blocking my app development since I was counting on it and the only thing that i didn't check was this one... have you tested the grid list under safari at all? I have seen several issues but I can't seem to find a solution.

Thank you ! E.

delad77 avatar Mar 16 '15 20:03 delad77

+1

seems like not all position properties are calculated in Safari for md-grid-tile elements. Comparing to Chrome Browser the left and margin-top property are missing.

mwymann avatar Mar 17 '15 09:03 mwymann

https://github.com/angular/material/commit/4572e80a20cbe8bb5d3415a9ffb0fde8150ff084

JulianWielga avatar Mar 17 '15 17:03 JulianWielga

+1 -- would love to see the fix go in soon.

depoll avatar Mar 19 '15 23:03 depoll

@depoll If you're in ahurry, you can manually fix this in : https://github.com/JulianWielga/material/commit/4572e80a20cbe8bb5d3415a9ffb0fde8150ff084

bonatoc avatar Mar 20 '15 04:03 bonatoc

Replicated screen shot 2015-04-04 at 9 18 25 pm

amay0048 avatar Apr 04 '15 10:04 amay0048

Found this was caused by a missing trailing brace in calc css string which mean that safari wouldn't apply it. Just submitted a pull request with a fix for this.

amay0048 avatar Apr 04 '15 12:04 amay0048

Fixed with 33049cff96cd643e76159fc2d72cbd9fb911245c

ThomasBurleson avatar Apr 04 '15 14:04 ThomasBurleson