blocks
blocks copied to clipboard
prevent flash of unstyled content when the file-uploader is being loaded
right now when you load the page with e.g. lr-file-uploader-regular it takes a while for it to initialise (especially if you use cdn for the css file) which results in a flash of missing content.
is there a recomended approach for server side rendering? or exposed API that can be used to show e.g. spinner or loader before the component is initilalised?
thanks
At the moment, we don't have any API like that, but I think we could create an event that fires when styles are loaded so that you can add your own custom loader.