This evening I’m trying to figure out how to get rid of the flash of background when navigating within the iframe in my personal website.
As far as I can see this is due to how the browser treats the iframe whilst it is loading content. Normally the rendering of the new page is delayed until there is a full viewport of rendered webpage ready to be displayed. But when navigating within an iframe, there’s a short period of time where a blank viewport is shown - at least on my personal site.
I’m kind of regretting putting the most important, most changeable content in an iframe. Maybe I should have put the nav bar in an iframe, but then I would have to implement the layout in multiple places and that would suck.