RGPopup.Maui
1.1.2
dotnet add package RGPopup.Maui --version 1.1.2
NuGet\Install-Package RGPopup.Maui -Version 1.1.2
<PackageReference Include="RGPopup.Maui" Version="1.1.2" />
paket add RGPopup.Maui --version 1.1.2
#r "nuget: RGPopup.Maui, 1.1.2"
// 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
- 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)
Release Notes
1.1.2
- Added property DisableScrollView #17 on iOS platform. (Thanks PR by https://github.com/REDECODE)
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
Fix popup bounce when keyboard hiding on iOS platform.
Fix Android touch event transparent popup content when CloseWhenBackgroundIsClicked=True and touch position isInRegion=True.
Fix Error XA3006 : Could not compile native assembly file: typemaps.x86_64.ll on Window when targeting to x86_64 android emulator.
Fix With 1.0.9 popup doesnt dismiss whern click outside popup wndow #14 (Thanks Reported by https://github.com/broda02)
1.0.9
Refine fix The popup with Entry can not show above of the keyboard. #9 (iOS)
Fix background unclickable problem for MacCatalyst.
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)
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 | Versions 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. |
-
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
- Microsoft.Maui.Controls (>= 8.0.20)
-
net8.0-ios17.2
- Microsoft.Maui.Controls (>= 8.0.20)
-
net8.0-maccatalyst17.2
- Microsoft.Maui.Controls (>= 8.0.20)
-
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.
Fix PopupPage OnAppearing & OnDisappearing not work issue.