We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
PopupBlockedException
1 parent a1cb163 commit e5fdb09Copy full SHA for e5fdb09
src/CommunityToolkit.Maui/Views/Popup/PopupPage.shared.cs
@@ -98,7 +98,7 @@ public async Task CloseAsync(PopupResult result, CancellationToken token = defau
98
if (Navigation.ModalStack[^1] is IPageContainer<Page> { CurrentPage: PopupPage visiblePopupPageInCustomPageContainer }
99
&& visiblePopupPageInCustomPageContainer.Content != Content)
100
{
101
- throw new PopupBlockedException(popupPageToClose);
+ throw new PopupBlockedException(visiblePopupPageInCustomPageContainer);
102
}
103
else if (Navigation.ModalStack[^1] is ContentPage currentVisibleModalPage
104
&& currentVisibleModalPage.Content != Content)
0 commit comments