Skip to content
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

react-fluentui-9 - Styles in Menu/Popovers missing #5154

Closed
1 of 9 tasks
ferreiraKeanu opened this issue May 27, 2024 · 1 comment
Closed
1 of 9 tasks

react-fluentui-9 - Styles in Menu/Popovers missing #5154

ferreiraKeanu opened this issue May 27, 2024 · 1 comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs

Comments

@ferreiraKeanu
Copy link

Disclaimer

Yes

Sample

react-fluentui-9

Contributor(s)

@techienickb

What happened?

Menus and Popovers have no styles, i have this issue in my main applications but can reproduce with just this example
image

Steps to reproduce

  1. Clone Project
  2. Change tenant url for gulp serve
  3. run gulp serve
  4. klick on splitbutton to open menu

Expected behavior

The Menus and Popovers should have a white background and and be styled.

Target SharePoint environment

SharePoint Online

Developer environment

Windows

Browsers

  • Internet Explorer
  • Microsoft Edge
  • Google Chrome
  • FireFox
  • Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

What version of Node.js is currently installed on your workstation?

v18.18.0

What version of Node.js is required by the sample?

v18.18.0

Paste the results of SPFx doctor

CLI for Microsoft 365 SharePoint Framework doctor
Verifying configuration of your system for working with the SharePoint Framework

√ SharePoint Framework v1.17.2
× Node v18.18.0 found, v>=16.13.0 <17.0.0 required
× yo not found
× gulp-cli not found
× typescript v4.7.4 installed in the project
Recommended fixes:

  • Install Node.js >=16.13.0 <17.0.0
  • npm i -g yo@4
  • npm i -g gulp-cli@2
  • npm un typescript

Additional environment details

No response

@ferreiraKeanu ferreiraKeanu added the type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs label May 27, 2024
@ferreiraKeanu
Copy link
Author

The problem was that the FluentProvider did not set the css variables. solved with a headless version.
Not sure why it does not work in my case without manually setting the css.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See type:bug-confirmed for confirmed bugs
Projects
None yet
Development

No branches or pull requests

1 participant