Flash of unstyled content (FOUC) in Firefox only? Is FF slow renderer?

后端 未结 7 2113
[愿得一人]
[愿得一人] 2021-02-01 16:42

I\'m not seeing this issue in any other browser that I\'ve tested - IE, Chrome, Opera - but whenever I load a page from the server, I\'m seeing a flash of unstyled content befor

7条回答
  •  轮回少年
    2021-02-01 17:01

    I was experiencing this error. A colleague has said that it's caused by the attribute, autofocus being added to a form field.

    By removing this attribute and using JavaScript to set the focus the brief flash of unstyled content stops happening.

提交回复
热议问题