-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
md-icon used with addSvgIconSetInNamespace and <symbol> are invisible #4680
Comments
After referencing the docs, I've managed to make it work by modifying my svg file to include a https://plnkr.co/edit/jHtKsmqrXXxoVF8tJhNb?p=preview Is there any plan to support both formats? |
Fixes icons not being rendered if they're defined as a `<symbol>` inside the source file. Fixes angular#4680.
* fix(icon): handle icons as <symbol> nodes Fixes icons not being rendered if they're defined as a `<symbol>` inside the source file. Fixes #4680. * chore: fix IE issues
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Md-icons loaded using
addSvgIconSetInNamespace
appear in the DOM but are not visible. I suspect this is because the<symbol>
tags are included, which will not be rendered without the<use>
tag.I made a plunkr to demonstrate the issue: https://plnkr.co/edit/KYyfI0uBq2GYM2ElC1k3?p=preview
The text was updated successfully, but these errors were encountered: