-
Notifications
You must be signed in to change notification settings - Fork 148
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
Feature request: support viewEncapsulation.Native and ShadowDom #96
Comments
Please support this feature, it's needed when creating web components @Amiral1 did you find a workaround for size? |
I think the root cause is that styles used by FA are not component scoped (#18 and #48). We'll have to solve this issue first. That alone may be enough to resolve the problem described here.
|
Would love support for this and also with Angular's new ViewEncapsulation.ShadowDom. Similar work has been done here: https://github.com/oliverandrich/fa-icon-polymer |
When using
viewEncapsulation.Native
(shadow DOM), some styles are missing in the component because they are set globally in thehead
section. For example, you cannot set thesize
.This would be a nice evolution to support Angular Elements (web components) that can be shared across other websites without leaking on the global DOM.
The text was updated successfully, but these errors were encountered: