Hello,
GoToAsync is an asynchronous method, so you need to use await so that the method can execute as expected to complete this statement.
private async void Button_OnClicked(object sender, EventArgs e)
{
await Shell.Current.GoToAsync("secondpage");
}
After testing, using this method does not cause the problem of a blank UI on the second page.
You can refer to Asynchronous programming scenarios for more information on asynchronous programming.
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.