-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
area-controls-dialogalertDisplayAlert, dialogDisplayAlert, dialogplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
Seems that the alerts are fired correctly and then added to the _pendingActions. However, the FlushPendingActions method only fires when the NavigatedTo even is invoked - and this only happens when in a nav page or in shell.
Steps to Reproduce
- In the sandbox app
- Use this code in the MauiProgram.cs:
class App : Application
{
protected override Window CreateWindow(IActivationState activationState) =>
new Window(new MainPage());
}- Use this code in the MainPage.xaml.cs:
protected override void OnAppearing()
{
base.OnAppearing();
DisplayAlert("A", "B", "C");
}Link to public reproduction project repository
maui repo
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows, macOS, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
All version as this is xplat code
Did you find any workaround?
No response
Relevant log output
No response
Mark-NC001
Metadata
Metadata
Assignees
Labels
area-controls-dialogalertDisplayAlert, dialogDisplayAlert, dialogplatform/androidplatform/iosplatform/macosmacOS / Mac CatalystmacOS / Mac Catalystplatform/windowss/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working