79767208

Date: 2025-09-17 10:56:37
Score: 0.5
Natty:
Report link

Have you tried playing with the popup defaults?

.UseMauiCommunityToolkit(static options =>
{
    options.SetPopupDefaults(new DefaultPopupSettings
    {
        CanBeDismissedByTappingOutsideOfPopup = true,
        BackgroundColor = Colors.Orange,
        HorizontalOptions = LayoutOptions.End,
        VerticalOptions = LayoutOptions.Start,
        Margin = 72,
        Padding = 4
    });

    options.SetPopupOptionsDefaults(new DefaultPopupOptionsSettings
    {
        CanBeDismissedByTappingOutsideOfPopup = true,
        OnTappingOutsideOfPopup = async () => await Toast.Make("Popup Dismissed").Show(CancellationToken.None),
        PageOverlayColor = Colors.Orange,
        Shadow = null,
        Shape = null
    });
}) 
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: galex