Dark mode not sticking on Brave Browser #9887
Labels
bug
An error in the Docusaurus core causing instability or issues with its execution
closed: can't repro
This bug is because of some local setup that can't be reproduced.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Dark mode is not being "remembered" by Docusaurus when I use Brave Browser upon page refresh.
Reproducible demo
No response
Steps to reproduce
I discovered this while on Pomerium's docusaurus, but it's the same on https://docusaurus.io/docs
Step 1: Toggle dark mode.
Step 2: refresh the page (I use F5)
Step 3: See the page is no longer dark mode.
Expected behavior
It used to retain dark mode unless I completely clear cache/cookies.
Actual behavior
I refresh the page and it's now light mode.
For what it's worth, this seems to be Brave Browser only. I tested on Chrome and that's fine. Additionally, if I set to dark mode and click around documentation, it retains dark mode until refresh (or I enter docs again).
Your environment
Self-service
The text was updated successfully, but these errors were encountered: