Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a DisplayAlert over the popup #5

Open
acaliaro opened this issue Oct 25, 2024 · 2 comments
Open

Show a DisplayAlert over the popup #5

acaliaro opened this issue Oct 25, 2024 · 2 comments

Comments

@acaliaro
Copy link

acaliaro commented Oct 25, 2024

Hi @Alex-Dobrynin thanks for your work.
I have a question.
If I use this code

private  async void OnCounterClicked(object sender, EventArgs e)
    {
        count++;

        if (count == 1)
            CounterBtn.Text = $"Clicked {count} time";
        else
            CounterBtn.Text = $"Clicked {count} times";

        await PopupService.ShowPopupAsync(new PopupTestPage());
        await Task.Delay(2000);
        App.Current.MainPage.DisplayAlert("AA", "bb", "ok");
        await Task.Delay(2000);

        await PopupService.HidePopupAsync();

    }


I have a displayalert that is "under" the loader. Is it possible to have it over the loader so I can interact with it?

the problem is only on iOS. on Android it seems to work fine (displayalert is over the loader so I can interact with it)

@acaliaro
Copy link
Author

maybe it is related to LuckyDucko/Mopups#66 ?

@Alex-Dobrynin
Copy link
Contributor

Yes this is the same issue. and there you can find workarounds and why it works this way.

but I have a question: why you are using this package instead of mopups? (just collection some analytics).

I can suggest you to use Controls.UserDialogs.Maui instead of App.Current.MainPage.DisplayAlert("AA", "bb", "ok");, but im not sure if there is the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants