We have a simple .NET MAUI app with a Login page as the main page and after successful login, we move to (PushAsync) a menu page. This all works fine in Android but when we move over and begin testing in Windows we get an exception when we attempt to PushAsync the Menu page. The exception is ‘Value does not fall within the expected range’.
It appears to be in the Navigation area since we can create the page then add. Page creation works fine. Error happens only when we push it.
//MenuPage mp = new MenuPage();
//await Navigation.PushAsync(mp);
await Navigation.PushAsync(new MenuPage());
Thanks in advance