Replies: 1 comment
-
|
I'm afraid I don't know what could be causing this. Sorry. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I’m writing an article about different methods of using SVGs in React projects.
While experimenting with the SVG sprite approach in the epic-stack app, I noticed an issue: the Remix icon doesn’t appear in Safari.
Steps:
other/svg-icons/dir so they get embedded intosprite.svgapp/routes/_marketing/index.tsx, render the icons with the<Icon/>component instead of<img>The result:
The Remix icon is not displayed (while all other icons are visible):
Screenshot
if I render the logos using regular
<img>tag (as in a fresh epic-stack install), all logos display correctly in Safari:Screenshot
Edits to
app/routes/_marketing/index.tsx:I suspect this issue is related to the use of filters inside the Remix logo SVG.
Did you encounter this behavior? Are there any workarounds?
Thanks you!
Beta Was this translation helpful? Give feedback.
All reactions