I am working with sharepoint framework on 1.11 version and react to make a webpart.
I need to make a preloading interface whilst the webpart loads the components. The problem is that the webpart needs to use the whole screen (width and height), but to do that, it is being fixed at the top of the sharepoint site using css, but whilst the site recognizes the code and deploy the webpart, the content site shows for a few miliseconds, and that's what I need to hide.
I hope you can help me with this.
Thanks.
I have tried sharepoint Application customizer extensions and global css, but they load almost at the same time than the webpart.
I expect to hide the site content of sharepoint and show a loading page whilst the webpart is being mounted.