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

[docs] Unpleasant initial UI update for dark mode #33363

Closed
2 tasks done
rnike opened this issue Jul 2, 2022 · 1 comment
Closed
2 tasks done

[docs] Unpleasant initial UI update for dark mode #33363

rnike opened this issue Jul 2, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@rnike
Copy link

rnike commented Jul 2, 2022

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

The site initially displays light mode and then updates to dark mode, bringing pain to my eyes.

record.mp4

Expected behavior 🤔

Initial UI render should be in the correct mode

Steps to reproduce 🕹

Steps:

  1. set the site to the dark mode
  2. close the site
  3. reopen the site

Context 🔦

The issue always happens when entering the site, often when refreshing.

The issue will not appear on doc running with yarn doc:dev, it is probably related to SSR (not quite sure).

Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.
@rnike rnike added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 2, 2022
@siriwatknp
Copy link
Member

siriwatknp commented Jul 5, 2022

Duplicate of #15588

@siriwatknp siriwatknp added duplicate This issue or pull request already exists and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jul 5, 2022
@siriwatknp siriwatknp marked this as a duplicate of #15588 Aug 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants