payload
payload copied to clipboard
[Firefox] Flickers from light to dark mode on navigation
Describe the Bug
When navigating between screens in the admin panel, the browser will flicker from light to dark mode when your browser is set to dark mode and your payload preferences are set to 'automatic'.
Link to the code that reproduces this issue
https://github.com/payloadcms/payload/tree/main/test/_community
Reproduction Steps
- Use firefox browser.
- Set your firefox browser to dark mode.
- Set your theme preferences to automatic in payload user preferences.
- It will flash from light to dark on each navigation.
Which area(s) are affected? (Select all that apply)
area: core, area: ui
Environment Info
Payload: 3.8.0
Next: 15.1.0