-
Notifications
You must be signed in to change notification settings - Fork 12.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
font awesome SVG icons doesn't work on safari (iOS) #17468
Comments
Hi! Thanks for being part of the Font Awesome Community.
Please just user for one of this, you don't need both. JS if for the SVG implementation, CSS for the webfonts.
Feel free to share the id of the kit, so I can check kit configuration. Also, do not use the kit together with css/js: use the kit OR svg OR css
Which Version? |
@tagliala thanks for the quick response. May be I did not explain it well, I am not using both css/js and kit. I am explaining that font awesome is failing to render icons just with css/js or kit reference (I am not using/referencing both at once).
edit by tagliala: kit configuration
|
How soon I can expect feedback on this? This is a blocker for us to Go-Live. |
Apologies for the late reply. I've configured a kit with the same options as yours and tested on Safari iOS (14.2), but I can't reproduce. URL: https://tagliala.github.io/fa17468.html Please let me know if it reproducible with your specific Safari version |
@tagliala I have invited to my code on GitHub, which is a lighter version where you can reproduce the problem. there are two files over there route.html and airport.html (you can run either of those) and see errors on console window. That can explain it better. |
@hbopuri I took a fast look, but I cannot see usage of font awesome ( Can you please create a publicly accessible, reproducible test case without any other third-party library? |
@tagliala if you may check main.weathericons.js file, line number 73 to 88 I dynamically get different different font-awesome icon class and then render it on SVG chart. This works all fine on all other browsers. Giving it out publicly will be a challenge. |
Ok, got it. Doesn't look like a general use case, this could require time, and having a reduced test case is highly appreciated. I think that the best thing you can do is to send and email to hello@fontawesome.com to get Pro support. Please also add a reference to this issue in the email. Let me know if you don't get answer in the next business day Meanwhile, if you manage to create a publicly accessible, reduced test case without third party libraries please share it here |
Hi @tagliala this is the response I got from them, I asked them to elaborate on this and haven't got any update yet. Do you have any clue on this? How to use source SVG?
|
@tagliala I was able to make some progress. earlier I was setting my icons as below, which was working fine in all browsers in windows and Chrome on IOS. but not working on SAFARI on IOS
I changed it to
Add in my HTML I added css reference of I assumes probably the reference is older I changed it to latest version, which doesn't load any icons (loads all icons as boxes) How do I proceed from here? |
@hbopuri thanks for the details. I've got an answer for you and I'll reply to your email you sent to hello@fontawesome.com. Since your issue is unique to your use case I'm going to close this ticket here in GitHub. |
Thanks everyone for the heads-up, |
I have following font awesome reference
Alternatively I also have premium kit reference
Both references renders icons on Google Chrome, but fails to work on Safari (iOS)
Console error says
Here is the code all.js fontawesome library that is having issues
How can I make this work for safari?
The text was updated successfully, but these errors were encountered: