MudBlazor.StaticInput icon indicating copy to clipboard operation
MudBlazor.StaticInput copied to clipboard

TypeError: window.Blazor.addEventListener is not a function

Open Dunge opened this issue 3 months ago • 2 comments

Uncaught TypeError: window.Blazor.addEventListener is not a function at NavigationObserver.js:171:23 at NavigationObserver.js:179:3

    if (window.Blazor) {
        window.Blazor.addEventListener('afterStarted', ensureInitialized);

Dunge avatar Sep 18 '25 23:09 Dunge

Only seems to happen when running in a MAUI context, but works on web/wasm

Dunge avatar Sep 18 '25 23:09 Dunge

@Dunge while I don't have any real experience with MAUI, you can test this fix and see if it resolves the issue. (not yet published to NuGet)

Anu6is avatar Sep 23 '25 14:09 Anu6is