Quasimondo / QuasimondoJS

A collection of more or less useful Javascript utils and snippets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZorroSVG: Randomly does not display in Chrome/Mac

geoffyuen opened this issue · comments

Chrome Version 47.0.2526.80 (64-bit), El Capitan 10.11.1

I'm working on a site that uses many of these svgs (>20). I find that initially they display ok but during development of the site and after refreshing the browser many many times they begin to just not display. No console or network errors. Even after doing a empty cache and hard reload does not fix it. Quitting Chrome and opening again works. The issue does not affect non-Zorrosvgs (eg. Sketch) or svgs used as a background image. I've not had the issue appear in Firefox or Safari.

Finally figured this out: Seems that Chrome has display issues with xattr on these files even though it should not. When downloading the svgs (also from Chrome) there's metadata being added (eg. the url that the file is being downloaded from). You can batch remove all xattr from the terminal: xattr -rc <your dir or file>

Welp it turns out was wrong. I still have this issue...

Thanks for reporting this. Though I don't know what I can do about it, it seems more like a Chrome issue to me. If you have any ideas how to go about fixing this I'm all ears.