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

White screen flicker issue in dark mode #45

Open
Aashiq25 opened this issue Feb 14, 2023 · 0 comments
Open

White screen flicker issue in dark mode #45

Aashiq25 opened this issue Feb 14, 2023 · 0 comments

Comments

@Aashiq25
Copy link

To reproduce do a hard refresh or continuously refresh for >2s.
This is caused since we cannot set the CSS attributes based on the theme (stored in local storage) before the DOM being rendered. Have attached a sample video for reference.

In docsify-themeable this has been handled and they can set the previously stored theme. Let me know if you have any possible solution for this issue am happy to contribute as well. Thanks.

Screen.Recording.2023-02-14.at.4.43.56.PM.online-video-cutter.com.mp4
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