Hi @Morgan Borley ,
Thanks for reaching out and apologies for delay in response.
Your understanding is correct here and you can add the data-preload="true" attribute in your HTML tags which constructed the page before being shown to the user. This attribute helps prevent the page from "flickering" by preloading the CSS file, without the un-styled HTML being shown to the user.
It seems data-preload= "true" is getting ignored with script tag and is not working properly.
There are some guidelines for using JavaScript with Azure AD B2C as mentioned here. Make sure you are following those to enable javascript.
Also, Enable the javascript for your User Flow as below:
and specify a page layout name and version.
Reference of CSS file to use data-preload in HTML file: https://learn.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-user-flow#guidelines-for-using-custom-page-content
Hope this will help. If you will not be able to resolve the issue, please let us know to assist you further.
Thanks,
Shweta
--------------------------------
Please remember to "Accept Answer" if answer helped you.