firefox fouc error
Can someone help me with fouc? I am using macbook pro m1pro and styles arent working on firefox...
23 Replies
do you have any critical css?
I added grid and gap and thats mostly it...
I am using tailwindcss
a live example might help folks diagnose the issue
ah, so, you're not writting css
no wonder you have a flash of unstyled content
I am going to send it as soon as i get close to my laptop... ☺️
Okay, so i deleted everything and i still get the same error...
the 404? you can ignore it, for now
Actually i was refering to yellow warning message. ☺️
it seems like it is changing the html before the oage is loaded
if i were you, i would add the
defer
attribute to itHmm
did you tried it?
Yes, i still get the same warning message
what's on line 250?
I have no clue, that file is not related to my folder
Its something in mozilla
are you sure?
Yes, i dont have any js on website for now...
that is probably an extension
can you check in a private session?
Still the same
do you actually see a fouc?
do you get the error on other pages that you didn't make?
Most of pages are working normally, beside ones that i try to create. Even when they are blank with no content i get the warning message and some styles are not applied.
are they actually not applied, or are you just implying that from the error?
cause a FOUC is just that styles aren't loaded yet. The browser gets the HTML and has to start rendering for some reason, before all the styles have been loaded. If you're just getting that message, and everything looks fine, you can probably just ignore it. I really think it's an extension, cause like you said, you're not loading any styles and it's still showing the message
if you have styles that are missing after the initial load still, then you have a different issue and you should make a live example in codepen or some other live version people can see in their own browsers (probably in a separate post)
also, try to check if this happens when you start firefox in safe mode: https://support.mozilla.org/kb/Safe+Mode