I am building a Maui Blazor app and I want to prevent the user can go back when pressing "back" button on the phone.
It is clear I can do with Maui when using xaml like this:
protected override bool OnBackButtonPressed()
{
return true;
}
How is it possible when Blazor? Didn't find any similar method to override.