Material angular 0.10.1-rc2 breaks my css layout in production Safari
Hi,
This is very weird if I update angular-material to 0.10.1-rc2 in my heroku production enviroment in Safari but is not working.
Development version executed with "foreman start"(enviroment/development.rb config file): http://screencast.com/t/e5HOtjgdPPb Staging server (enviroment/production.rb config file): http://screencast.com/t/FblbkPLJ
I know that this can be related with heroku. However this happen only when updated Material Angular from 0.10.1 to 0.10.1-rc2. If return to the 0.10.1 version it works! :open_mouth:
What can be happening? Is this a bug?
Thanks
sometimes it happens on flex="100". Just use flex and use layout="column"
@rgolea I am not using flex="100".
are you still seeing this with RC4?
@naomiblack is still happening with v0.10.1-rc5.
@ekaitzht Without being able to see the site breaking, I'm not sure I'm going to be able to help find the cause. Is this visible somewhere so that I can debug it?
@robertmesserle here you have http://bit.ly/1K18Xx0. Currently is with 0.10.1-rc5
Can you try the latest version?
https://github.com/angular/material/commit/778af934ffd0cb331660581a26446e635d898f28
I think this should take care of it for you.
On Mon, Aug 3, 2015 at 2:13 PM, ekaitzht [email protected] wrote:
@robertmesserle https://github.com/robertmesserle here you have http://bit.ly/1K18Xx0.
— Reply to this email directly or view it on GitHub https://github.com/angular/material/issues/3881#issuecomment-127407755.
@robertmesserle is happening the same problem. I thought that it was fixed but I was using a old version.
@robertmesserle I have seen that this problem it doesn't happen if I set config.assets.debug to 'true'.(This option concatenates and minify the code in rails 4)
However if I remove config.assets.debug to 'true' I have other problems with Safari with the layout="column" and flex="100", but not with Chrome and Firefox.
All tested with v0.10.1-rc5-master-17676e6
@ekaitzht Try downloading the build from the cdn - worked for me. https://ajax.googleapis.com/ajax/libs/angular_material/0.10.1/angular-material.min.css https://ajax.googleapis.com/ajax/libs/angular_material/0.10.1/angular-material.min.js
@kugler I don't have any problem with 0.10.1, my problem is 0.10.1-rc versions.
I could fix this problem is not related with angular-material. It's related with the rails asset pipeline that doesn't work properly with require and I changed to @import.