Skip to content

[Bug]: StrictMode breaks v9 theming #23625

@dzearing

Description

@dzearing

Library

React Components / v9 (@fluentui/react-components)

System Info

react 18.0.0
@fluentui/react-component 9.0.0-rc.15

Are you reporting Accessibility issue?

No response

Reproduction

https://codesandbox.io/s/nice-villani-7vgw53?file=/src/index.tsx

Bug Description

Actual Behavior

Ugly buttons

image

Expected Behavior

Pretty buttons (remove the StrictMode to see)

image

Logs

No response

Requested priority

High

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions