Loading pop up

Eduardo Gomez 3,651 Reputation points
2025-05-11T22:16:44.19+00:00

https://reccloud.com/u/nq75s16

<toolkit:Popup
    x:Class="FireChat.Views.PopUps.LoadingPopUp"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
    CanBeDismissedByTappingOutsideOfPopup="False">

    <VerticalStackLayout>
        <ActivityIndicator IsRunning="True" />
        <Label Text="Loading..." />
    </VerticalStackLayout>
</toolkit:Popup>


for some reason it dosent navigate

   async Task Login() {

       await Shell.Current.CurrentPage.ShowPopupAsync(loadingPopUp);

       await firebaseAuth.SignInWithEmailAndPasswordAsync(LocalUser.Email, LocalUser.Password);

       loadingPopUp.Close();

       await Shell.Current.GoToAsync($"//{nameof(ChatPage)}");

   }

It was working fine until I added that

I just wanted to provide feedback

I put a breakpoint, and it dosent hit


        await firebaseAuth.SignInWithEmailAndPasswordAsync(LocalUser.Email, LocalUser.Password);

        loadingPopUp.Close();

        await Shell.Current.GoToAsync($"//{nameof(ChatPage)}");

but hits the show popUp

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
4,104 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.