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

Avoid layout jumps when loading a page #1718

Open
kai687 opened this issue Feb 23, 2024 · 4 comments
Open

Avoid layout jumps when loading a page #1718

kai687 opened this issue Feb 23, 2024 · 4 comments
Labels
bug Something isn't working styles Change the look of something

Comments

@kai687
Copy link
Owner

kai687 commented Feb 23, 2024

Something about the sidebar and hiding nested sections. Whenever you load a new page, you get this weird little twerk of hiding the nested section when the JavaScript is loaded. Figure out a way to avoid that.

@kai687 kai687 added bug Something isn't working styles Change the look of something labels Feb 23, 2024
@kai687
Copy link
Owner Author

kai687 commented Feb 26, 2024

Same problem occurs if your system preference is dark mode, but the theme is in light mode (and vice versa).

@dylanh724
Copy link

dylanh724 commented Aug 12, 2024

Yep, if I switch to dark mode and nav to a new page, I'll see a flash of dark theme before the light theme is loaded.

Breaking issue; I can't use this theme because of this.

@kai687
Copy link
Owner Author

kai687 commented Aug 12, 2024

Thanks for your additional comment. If you know how to fix it, I'd welcome a pull request.

@vict0rsch
Copy link
Contributor

I do see this too, though I'm not sure how to fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working styles Change the look of something
Projects
None yet
Development

No branches or pull requests

3 participants