github CommunityToolkit/Maui 14.1.1
14.2.0: Add `bool NavigatingFromEventArgs.IsDestinationPageACommunityToolkitPopupPage()` Extension Method, Fix `StatusBar` + `SpeechToText` Auto-timeout bugs

5 hours ago

CommunityToolkit.Maui v14.2.0

New Popup Extension

public static bool IsDestinationPageACommunityToolkitPopupPage(this NavigatingFromEventArgs args);

You can now use NavigatingFromEventArgs to determine if the previous page was a Popup: https://learn.microsoft.com/en-us/dotnet/communitytoolkit/maui/views/popup#lifecycle-behavior

protected override void OnNavigatingFrom(NavigatingFromEventArgs args)
{
    base.OnNavigatingFrom(args);
    if (args.IsDestinationPageACommunityToolkitPopupPage())
    {
        // If true, `OnNavigatingFrom` was called by starting a Popup
    }
}

SpeechToText Bug Fix

  • Fix AutoStopSilenceTimeout for SpeechToTextOptions doesn't work on iOS

StatusBar Bug Fix

  • Fix StatusBar.SetColor() when using StatusBarBehavior
  • Update StatusBar Size On Device Orientation Change

What's Changed

Housekeeping

  • Explicitly target iOS and macOS to osx and Windows platforms (only) by @matt-goldman in #3186
  • Bump Microsoft.Testing.Extensions.CodeCoverage from 18.5.2 to 18.6.2 by @dependabot[bot] in #3193
  • Bump System.Formats.Asn1 from 10.0.6 to 10.0.7 by @dependabot[bot] in #3209
  • Bump Microsoft.Extensions.Http.Resilience from 10.4.0 to 10.5.0 by @dependabot[bot] in #3199
  • Bump System.Formats.Asn1 from 10.0.5 to 10.0.6 by @dependabot[bot] in #3201
  • Bump Microsoft.Extensions.Logging.Debug from 10.0.5 to 10.0.6 by @dependabot[bot] in #3200

New Contributors

Full Changelog: 14.1.0...14.1.1

Don't miss a new Maui release

NewReleases is sending notifications on new releases.