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

Theme "flickering" on reload if dark reader is installed (even if it's turned off) #1

Open
ehanahamed opened this issue Aug 4, 2024 · 1 comment

Comments

@ehanahamed
Copy link
Owner

ehanahamed commented Aug 4, 2024

from Quizfreely issue 1: (see ehanahamed/quizfreely#1)

Every page reload and every time someone navigates to a different page, the whole page flashes black before the correct theme colors are applied. This "flickering" happens really quickly, it flickers so fast that it's almost not noticeable in dark theme, but it is super annoying with light theme.

This only happens if dark reader is installed (even if it's turned off 💀)

from Quizfreely issue 1:

This "flickering" only happens if dark reader is installed AND if prefers-color-scheme is dark (browser/device dark mode setting). Even if dark reader is turned off, the flickering still happens as long as it's installed. Setting browser/device colorscheme to light makes it not flicker even with dark reader installed.

@ehanahamed
Copy link
Owner Author

ehanahamed commented Aug 5, 2024

this from darkreader's contributor docs disables darkreader

<head>
    <meta name="darkreader-lock">
</head>

this might help? idk ngl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant