-
Notifications
You must be signed in to change notification settings - Fork 333
Open
Description
I am using RGPopup.Maui-Version=1.0.2
NuGet Package to show the pop up pages on the UI and now I am facing a weird issue on a project.
When I tap on a button I need to load a pop up page but it is not loading. The same page I am able to load from another page but on a particular page I am not able to load.
I am using below code to load the pop up page:
await PopupNavigation.Instance.PushAsync(new UploadImagePopupPage("imagepath"), true);
There is no error or exception but the page it not visible on the UI.
Below is the code of my pop up page:
<pages:PopupPage
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:rgAnimations="clr-namespace:RGPopup.Maui.Animations;assembly=RGPopup.Maui"
xmlns:pages="clr-namespace:RGPopup.Maui.Pages;assembly=RGPopup.Maui"
xmlns:local="clr-namespace:Demo"
x:Class="Demo.Pages.UploadImagePopupPage">
<StackLayout
Orientation="Vertical"
Margin="10"
BackgroundColor="White"
HorizontalOptions="CenterAndExpand"
VerticalOptions="CenterAndExpand">
<Label
x:Name="desc_label"
Text="Enter caption"
HorizontalOptions="CenterAndExpand"
Margin="5"
HorizontalTextAlignment="Center"
FontFamily="Italic"
TextColor="Black">
<Label.FontSize>
<OnIdiom x:TypeArguments="x:Double">
<OnIdiom.Phone>15</OnIdiom.Phone>
<OnIdiom.Tablet>22</OnIdiom.Tablet>
<OnIdiom.Desktop>15</OnIdiom.Desktop>
</OnIdiom>
</Label.FontSize>
</Label>
//other views
</StackLayout>
</pages:PopupPage>
I have created a demo and uploaded here for the reference.
Metadata
Metadata
Assignees
Labels
No labels