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

Flash of unstyled content #558

max-ci opened this issue Nov 1, 2017 · 2 comments

Flash of unstyled content #558

max-ci opened this issue Nov 1, 2017 · 2 comments


Copy link

@max-ci max-ci commented Nov 1, 2017


Flash of unstyled content (especially in Firefox)
Internet: 3G

Expected behavior

No flash of unstyled content

Actual behavior

Flash of unstyled content

Steps to reproduce the bug

  1. Hard refresh on Firefox, Chrome is less obvious (I didn't test it on high internet speed)

Package versions

  • MkDocs: 0.17.1
  • Material: 2.0.1

Project configuration

Defaults, GIF from GitHub page.

System information

  • OS: OSX
  • Browser: Firefox, Chrome (no extensions)


I was able to fix this, but I'm not sure if it's only that.

Fix: move loading modernizr after application css links

<link rel="stylesheet" href="../../assets/stylesheets/application-462a8722ef.css">
<link rel="stylesheet" href="../../assets/stylesheets/application-23f75ab9c7.palette.css">
<script src="../../assets/javascripts/modernizr-e826f8942a.js"></script>


Copy link

@squidfunk squidfunk commented Nov 1, 2017

Awesome, thanks!

Copy link

@squidfunk squidfunk commented Nov 1, 2017

Fixed in #561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants