direflow
direflow copied to clipboard
Icons in webfonts doesn't show under shadow root
Describe the bug
When using the icon pack from material icons or font awesome, icons doesn't appear when shadow root is enabled.
To reproduce
Steps to reproduce the behavior:
- Create a new Direflow Component with direflow-cli
- Use the icon-loader plugin and include 'material-icons' (description).
- Add an icon from material icons
Expected behavior
Icon is showing even if shadow root is enabled
Actual behavior
No icon is showing, instead the text appears.
If shadow root is disabled, icon shows as expected.
Package Manager:
Issue applies for both npm and yarn
Additional context
For a reference, see the discussion in this issue.
Hi, I have updated the demo: https://github.com/dpoerschke/iconProblemDemo/tree/master/bugreport-component
Any updates on this?