v12.1.0: Popup V2 bugfixes!
What's Changed
- Restrict AddPopup extensions to View to avoid ContentPage from being allowed by @bijington in #2715
- [Popup] Properly handle Android Back Button pressed by @TheCodeTraveler in #2716
- Speech Recognition Windows Ensure unsubscribe from events on Stop Recording by @VladislavAntonyuk in #2705
- Prevent a tap inside the content from closing a popup by @bijington in #2741
- [Popup] Add
Popup.CanBeDismissedByTappingOutsideOfPopupby @TheCodeTraveler in #2753 - ShowPopupAsync will now correctly return once the popup is closed under heavy garbage collection by @bijington in #2756
- Remove exception swallowing and update tests to exhibit expected behaviour by @bijington in #2749
- Fix: .UseMauiCommunityToolkit() Analyzer when wrapped in preprocessor directives by @IeuanWalker in #2769
- Publish main to github nuget by @VladislavAntonyuk in #2760
- [Popup] Add
DefaultPopupOptionsSettingsandDefaultPopupSettingsto.UseMauiCommunityToolkit(Options)by @TheCodeTraveler in #2759 - [Popup] Add
ComplexPopuptoCommunityToolkit.Maui.Sampleby @TheCodeTraveler in #2771 - Fix Windows Snackbar Registration by @ne0rrmatrix in #2755
Requirements
The following tools are now required for CommunityToolkit.Maui:
- Download/install .NET SDK v9.0.300
- Install Xcode 16.2.0 (or higher)
- Read the latest .NET MAUI Release wiki to always find the latest-supported version) of Xcode for .NET MAUI
- We HIGHLY recommend using the open-source tool Xcodes to easily manage your installed Xcode versions
- Update to the latest stable version of Visual Studio (or Jet Brains Rider)
- After installing the latest stable .NET SDK, update to the latest stable version of the .NET MAUI workload:
- On macOS, open the Terminal and enter the following command:
sudo dotnet workload install maui; sudo dotnet workload update - On Windows, open the command prompt (or Powershell) and enter the following command:
dotnet workload install maui && dotnet workload update
- On macOS, open the Terminal and enter the following command:
- Add a
global.jsonfile to your application with the following parameters to ensure you're not using a unsupported preview version of .NET (example below)- The .NET MAUI Community Toolkit does not support preview releases of .NET
global.json
{
"sdk": {
"version": "9.0.300",
"rollForward": "latestFeature",
"allowPrerelease": false
}
}Full Changelog: 12.0.0...12.1.0