RGPopup.Maui 1.1.2

dotnet add package RGPopup.Maui --version 1.1.2                
NuGet\Install-Package RGPopup.Maui -Version 1.1.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RGPopup.Maui" Version="1.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RGPopup.Maui --version 1.1.2                
#r "nuget: RGPopup.Maui, 1.1.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RGPopup.Maui as a Cake Addin
#addin nuget:?package=RGPopup.Maui&version=1.1.2

// Install RGPopup.Maui as a Cake Tool
#tool nuget:?package=RGPopup.Maui&version=1.1.2                

RGPopup.Maui

Popup controls for .NET MAUI migrated from Rg.Plugins.Popup for Xamarin with some fixes.

Setup

  • Available on NuGet: RGPopup.Maui NuGet
  • Add nuget package to your project.
  • Add .UseMauiRGPopup() to your MauiApp builder.
public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder
            .UseMauiApp<App>()
            .UseMauiRGPopup(config =>
            {
                config.BackPressHandler = null;
                config.FixKeyboardOverlap = true;
            })
            .ConfigureFonts(fonts =>
            {
                fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
            });

        return builder.Build();
    }
}

Support platforms

  • Android (Migrated from Rg.Plugins.Popup)
  • iOS (Migrated from Rg.Plugins.Popup)
  • MacCatalyst (Migrated from Rg.Plugins.Popup)
  • Windows (Migrated from Mopups)

Known Issues

1.[Windows] If you need add .UseMauiCompatibility() to your app builder, then you'd better not add ContentView to the PopupPage, otherwise the subview of ContentView will not show correctly (It may be .NET MAUI's bug).

Documentation

You can find all descriptions of Getting Started, How to use, Troubleshooting and etc in the Wiki

License

The MIT License (MIT) see License file

Thanks

Thank JetBrains for providing DEV tools in developing. (Especially on MacOS)

avatar

Release Notes

1.1.2

  1. Added property DisableScrollView #17 on iOS platform. (Thanks PR by https://github.com/REDECODE)

1.1.1

  1. Fix MoveAnimation animation is not triggered when opening with PopupNavigation.Instance.PushAsync #15 on Android platform. (Thanks Reported by https://github.com/guilhermeheibel)

1.1.0

  1. Fix popup bounce when keyboard hiding on iOS platform.

  2. Fix Android touch event transparent popup content when CloseWhenBackgroundIsClicked=True and touch position isInRegion=True.

  3. Fix Error XA3006 : Could not compile native assembly file: typemaps.x86_64.ll on Window when targeting to x86_64 android emulator.

  4. Fix With 1.0.9 popup doesnt dismiss whern click outside popup wndow #14 (Thanks Reported by https://github.com/broda02)

1.0.9

  1. Refine fix The popup with Entry can not show above of the keyboard. #9 (iOS)

  2. Fix background unclickable problem for MacCatalyst.

  3. Fix Inputsoft resize android not work on PopupPage #7 (Add new bindable property IsPopupWindowResizable to support PopupPage's layout resizing when SoftInput Keyboard popped-up) (Thanks Reported by https://github.com/guilhermeheibel)

  4. Try to fix Popup renders behind the Android navigationbar #11 (Thanks Reported by https://github.com/jaison-t-john)

1.0.8

1.Fix The popup with Entry can not show above of the keyboard. #9 (iOS) (Thanks Reported by https://github.com/john-heaven)

2.Fix When taking a picture on Android, the popUp Context will be overwritten with IntermediateActivity #10 (Thanks Reported by https://github.com/jeroen-corteville)

1.0.7

1.Fix The specified child already has a parent. You must call removeView() on the child's parent first. #6. (Thanks Reported by https://github.com/ntbao17)

1.0.5

1.Fix The application eventually crashes #5. (Thanks Reported by https://github.com/andersondamasio)

1.0.4

1.Fix getSystemGestureInsets NoSuchMethodError when targeting to android sdk version 29. (Thanks Reported By https://github.com/Kas-code & https://github.com/sakshi-pagematics)

1.0.3

1.Add .NET 8 support.

Product Compatible and additional computed target framework versions.
.NET net7.0-android33.0 is compatible.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst16.1 is compatible.  net7.0-windows10.0.19041 is compatible.  net8.0-android was computed.  net8.0-android34.0 is compatible.  net8.0-ios was computed.  net8.0-ios17.2 is compatible.  net8.0-maccatalyst was computed.  net8.0-maccatalyst17.2 is compatible.  net8.0-windows was computed.  net8.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0-android33.0

    • No dependencies.
  • net7.0-ios16.1

    • No dependencies.
  • net7.0-maccatalyst16.1

    • No dependencies.
  • net7.0-windows10.0.19041

    • No dependencies.
  • net8.0-android34.0

  • net8.0-ios17.2

  • net8.0-maccatalyst17.2

  • net8.0-windows10.0.19041

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.2 12,071 5/27/2024
1.1.1 351 5/16/2024
1.1.0 131 5/15/2024
1.0.9 902 5/13/2024
1.0.8 852 4/17/2024
1.0.7 478 4/3/2024
1.0.6 235 4/2/2024
1.0.5 182 3/29/2024
1.0.4 5,499 2/7/2024
1.0.3 2,764 12/17/2023
1.0.2 3,131 9/14/2023
1.0.1 761 7/8/2023
1.0.0 252 6/27/2023

Fix PopupPage OnAppearing & OnDisappearing not work issue.