Garbled Text using new Theme Service

Hello,

I added the new Theme Service to our Web Application and seeing garbled text at times. It does correct itself and display properly eventually. To be fair, we do have a high latency network so that could be the issue but wanted to report this anyway. The web application is .NET 8 (Server) with the latest version of Radzen. I'm attaching a screen shot of an example.

Thank you,
Anthony

GarbledText

It looks as if the theme CSS file loads after initial load for some reason. Make sure you have followed the getting started instructions. In addition ensure the CSS file is rendered from the server (by checking the generated source in your browser developer tools).

Thank you for your response. It looks like we have everything correct except the
Radzen.Blazor.js file isn't at the end but just can't see that making much of a difference. Here's our App.razor

@inject NavigationManager NavigationManager
@inject IHostEnvironment Env

DEPO
@if (Env.IsProduction()) { Oops! An unexpected error has occurred and this application may no longer respond until reloaded. Please contact helpdesk support if the issue persists. } else { An unhandled exception has occurred. See browser dev tools for details. } Reload 🗙

@code {
[CascadingParameter]
private HttpContext HttpContext { get; set; }

[Inject]
private ThemeService ThemeService { get; set; }

protected override void OnInitialized()
{
    base.OnInitialized();

    if (HttpContext != null)
    {
        var theme = HttpContext.Request.Cookies["MyDepoTheme"];

        if (!string.IsNullOrEmpty(theme))
        {
            ThemeService.SetTheme(theme, false);
        }
    }
}

}

I don't see any theme registration to be honest.