Skip to content

Alert popup not displaying when dismissing modal page on iOS/MacOS #32807

@Kbperri

Description

@Kbperri

Description

If I open a modal page, in this case a sign in page from the ArcGIS Maps SDK, and then dismiss the page, popups don't work immediately. If I add a delay after the sign in page is closed, the popup will be shown.

Steps to Reproduce

  1. Open the iOSBackgroundIssue solution
  2. Run the app
  3. Click on the "Click me" button
  4. Click "Continue" on the sign in popup
  5. Click "Cancel" on the sign in page
  6. Notice that none of the alerts are shown.

Link to public reproduction project repository

https://github.com/Kbperri/iOSBackgroundIssue

Version with bug

10.0.10

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

All iOS versions I've tested (15, 17, 18 26)

Did you find any workaround?

Workaround was to add a delay of at least 750 ms after the page is dismissed

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions