You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 1, 2024. It is now read-only.
It is impossible to display the second popup after awaiting the result from the first one on the iOS platform.
It's happening due to the next logic in the iOS Popup's renderer:
The result is returned before the controller is removed (dismissed) from the stack (iOS's ViewController).
Stack Trace
[Presentation] Attempt to present <Xamarin_CommunityToolkit_UI_Views_PopupRenderer: 0x7fc154247c50> on <Xamarin_Forms_Platform_iOS_PlatformRenderer: 0x7fc15372d130> (from <Xamarin_CommunityToolkit_Sample_iOS_Renderers_NoLineNavigationPageRenderer: 0x7fc15489d400>) which is already presenting <Xamarin_CommunityToolkit_UI_Views_PopupRenderer: 0x7fc15460ddb0>.
After pressing Close on the displayed popup the next popup should be opened.
Actual Behavior
The second popup is not displayed.
Workaround
Adding await Task.Delay(100...500); between calls is the workaround solution.
You can test this solution by pressing Popup A, Task.Delay, Popup B button.