dieulot / instantclick

InstantClick makes following links in your website instant.
instantclick.io
MIT License
5.51k stars 246 forks source link

SVG xlink:href doesn't work #143

Open akselinurmio opened 7 years ago

akselinurmio commented 7 years ago

xlink:href references made in inline SVGs seem not to work on pages loaded by instantclick. I'm using Chrome 54.

I have made a gist to demonstrate this: https://gist.github.com/akselinurmio/e7dceed26eb76d7ce10c833181cdb8d5

You can see it working here: https://rawgit.com/akselinurmio/e7dceed26eb76d7ce10c833181cdb8d5/raw/81986c191fb7edab95195357b332df6cf18d5107/example.html

This may be connected to #54.

testareas commented 5 years ago

hi @akselinurmio did you ever find a fix for this issue? I know it's been over 2 years since this issue was opened, but hit this same error yesterday.

Chrome will not show the SVG icons only when I hit refresh, once I visit another page the icons disappear. FireFox and Safari show the SVG icons fine all of the pages so need to see if it's instantclick.

akselinurmio commented 5 years ago

I ditched the whole library because of this, and can't remember what the issue actually could have been. Sorry not being so helpful! 😅