-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io.
- I have read the console error message carefully (if applicable).
Description
Hi,
Just notice a problem in my local / staging env, and tried on the official Docusaurus page (url : https://docusaurus.io/) to be sure that it was not a pb on my end.
As you can see on the video below, pb is there's glitches when navigating in navbar when using non default theme (dark or light) : when letting default theme to light mode, when you select dark mode you can see glitches in navbar when clicking on links. If you set default to dark mode, you will experience the same when using light mode.
The video was taken from the official page so you can do the test very easily : i assume default theme mode was not set or set to light cause you've got glitch in dark mode (or system mode when system is dark too) !
Thanks for your help !
chrome_AfY1FOTLSA.mp4
Reproducible demo
No response
Steps to reproduce
- Go to Docusaurus official page : https://docusaurus.io/
- Set dark mode if it's not your system default
- Click on links in navbar -> see glitches
- Set light mode
- Click on links in navbar -> no glitches
Expected behavior
No glitches at all, default theme mode selected or not.
Actual behavior
chrome_AfY1FOTLSA.mp4
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
- I'd be willing to fix this bug myself.