SETH BARRERE
SETH BARRERE

Reputation: 81

Maui Blazor, button not raising onclick event

The buttons in my Maui Blazor application, are not raising onclick events, when running on my physical, Android 11, device. However, the application works as expected on my local windows device, and my (Android 11 and higher) android emulators. Any ideas of why this might be happening? Thanks!

<button @onclick="Navigate">Navigate</button>

@code
{
    void Navigate ()
    {
        // Breakpoint here never hit
        NavigationManager.NavigateTo("/Destination");
    }
}

Upvotes: 0

Views: 1267

Answers (1)

Alexandar May - MSFT
Alexandar May - MSFT

Reputation: 10156

Yes, this is known issue and it's been tracked in this thread. You need to install the Webview version 105.0.5195.136 to fix the issue. Also , you can refer to this thread for more details.

Upvotes: 1

Related Questions