payload icon indicating copy to clipboard operation
payload copied to clipboard

[Firefox] Flickers from light to dark mode on navigation

Open rilrom opened this issue 2 months ago • 0 comments

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

  1. Use firefox browser.
  2. Set your firefox browser to dark mode.
  3. Set your theme preferences to automatic in payload user preferences.
  4. 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

rilrom avatar Dec 18 '24 13:12 rilrom