Hello! I have an issue that is found on other forum posts where a preloader that is rendered with Interactions 2.0 is showing the page for a split second before displaying. To get around this, I found that if I set the preloader class to
display: block in the site wide custom code then it will render that first, and then I use an interaction to set the preloader back to
display:none after the page loads.
However, now this solution blocks the view of the page content when using the Webflow Editor. I am looking for any custom code help to possibly set the preloader to
display:none if/when someone is using the Webflow Editor?
Here is a read-only link for one of the projects I would implement this on:
And here is the published link: http://webreg-test.webflow.io/
Here is a screenshot of the Editor view of the site. When you first load the Editor the preloader goes away with the Interaction as it should, but then it acts like it reloads the page for a second and thus shows the preloader again, blocking the content to be editd.