[Proposal] Popup V2 #2434
Labels
approved
This Proposal has been approved and is ready to be added to the Toolkit
champion
A member of the .NET MAUI Toolkit core team has chosen to champion this feature
enhancement
New feature or request
feature request 📬
in-progress
proposal
A fully fleshed out proposal describing a new feature in syntactic and semantic detail
Milestone
Feature name
Popup
Link to discussion
https://github.com/CommunityToolkit/Maui/wiki/2025-January-Standup
Progress tracker
Summary
Inspired by https://redth.codes/popups-with-net-maui-no-plugin-nuget-needed
Motivation
Remove handlers. Easier maintain the product.
Detailed Design
The new popup is based on the current PopupService implementation. We now require a new INavigation parameter to display a popup in the active window.
The Anchor feature is removed.
Usage Syntax
MyNavigation.ShowPopupAsync<T, TResult>(PopupOptions); (where T - PopupView, TResult is expected output type) MyNavigation.ShowPopupAsync<T,>(PopupOptions); (where T - PopupView) PopupService.ShowPopupAsync<T, TResult>(navigation, popupOptions) PopupService.ShowPopupAsync<T>(navigation, popupOptions)
Drawbacks
No response
Alternatives
No response
Unresolved Questions
No response
The text was updated successfully, but these errors were encountered: