You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use a custom svg and am having mixed success or none at all when injecting it into the template. I have used these in other JS applications without issues.
When using xlink:href the SVG does not render at all and after investigation it appears as if the use call is being blocked. If I removed the xlink: and solely use href the svg renders in every browser but Safari.
Hoping you might be able to provide some insight.
The text was updated successfully, but these errors were encountered:
mhomolak
changed the title
SVG use call being blocked by JS
SVG <use> call being blocked by JS
Feb 22, 2017
The second issue did help. It looks like a year and a half ago they added SVG support but not full SVG support. I'm not seeing the xlink:href attribute handled in their pull request which explains why it's not rendering for me. Thanks for your assistance!
I am trying to use a custom svg and am having mixed success or none at all when injecting it into the template. I have used these in other JS applications without issues.
When using xlink:href the SVG does not render at all and after investigation it appears as if the use call is being blocked. If I removed the xlink: and solely use href the svg renders in every browser but Safari.
Hoping you might be able to provide some insight.
The text was updated successfully, but these errors were encountered: