-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenthelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug, feature request, or proposal:
Bug: svg icons doesn't work on server.
What is the expected behavior?
It should work on server too.
What is the current behavior?
Icon registration is tightly coupled with DOM and depends on document
to be available which breaks its compatibility with server platform.
What are the steps to reproduce?
Use svg icons on server platform.
What is the use-case or motivation for changing an existing behavior?
It feels quite normal to have svg icons work on server.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/[email protected]
Is there anything else we should know?
Nope.
neilhem, sony-mathew and freezy
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenthelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue