Skip to content

[Bug]: Fluent v8 SVG icons do not work with Shadow DOM #28835

@spmonahan

Description

@spmonahan

Library

React / v8 (@fluentui/react)

System Info

n/a

Are you reporting Accessibility issue?

no

Reproduction

n/a

Bug Description

Actual Behavior

SVG icons do not render correctly in shadow DOM

Expected Behavior

SVG icons render correctly in shadow DOM


This appears to be because SVG icons styles are loaded via SCSS.

One potential fix for this is to update the react-icons-mdl2 library to use mergeStyles instead.

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions