-
Notifications
You must be signed in to change notification settings - Fork 273
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
<base> breaks icons #29
Comments
Unfortunately we can't have automatic universal solution. |
Why not always use an absolute path like in the solution mentioned by @kisenka? Shouldn't that fix the <use xlink:href="${ window.location.href.split('#')[0] + icon }"></use> |
Because absolute path changes when navigation (using history API) happened, so we have to update So actually you need both second and third point from the comment. |
Thanks for the clarification :) I didn't think about the history api. More docs about the |
My pleasure :) |
@davidspiess BTW, would you like to make a PR regarding #30? |
@princed right now i'm quite busy, but i'll dive into it this weekend :) |
If a
base
element is present, the icons break, regardless if i'm using angular or not. Why not make a universal solution?The text was updated successfully, but these errors were encountered: