Blazor net 8 InteractiveServer mode problem

I have .net 8 blazor app that enable the following
@rendermode InteractiveServer
@attribute [StreamRendering]

When I run the app localhost the all the button interactions are responds just fine,
When I deploy the app to azure, Some button work some don't especially this one with the logic
    private async Task CopyToClipboard(string text)
    {
        await ClipboardService.SetTextAsync(text);
        ToastService.ShowToast(ToastIntent.Success, "Copied to clipboard");
    }
Was this page helpful?