title: MAUI project, cannot navigate to a new page
body: <p>I've ran into a bug in MAUI and I just wanted to know if I'm the only one or if I'm doing something wrong in this new environment :)</p>
  <p>Before I've always been able to do this when navigating to a new page via a button click:</p>
  <pre><code>private async void OnButtonClicked(object sender, EventArgs e)
         {
             await Navigation.PushAsync(new Page1());
         } 
  </code></pre>
  <p>But it does not seem to work anymore, this is how my Page1 looks like in C# code:</p>
  <pre><code>    public partial class Page1 : ContentPage
      {
          public Page1()
          {
             InitializeComponent();
          }
  
          protected override async void OnAppearing()
          {
              base.OnAppearing();
  
              await MainThread.InvokeOnMainThreadAsync(async () =&gt; { await LoadRecipes(); });
          }
  
          private async Task LoadRecipes() 
          {
  
             //no code yet
          }
      }
  }
  </code></pre>
  <p>When I run this code and click the button, nothing happens.</p>