My website is experiencing an unexpected error. As shown in the screen video, there’s always some elements from the page section showing up very quickly before the preload image even shows up. Could anyone help me and let me know how to get rid of that please?
If they are not hidden as the default state, the browser will display them as soon as they are loaded. You can’t control the order of resources fetched. You can set the elements to display:none and then programmatically change the display: value. IX for example.
Here is a better explanation of what is happening and how you can deal with it.