Skip to content

Popup not bottom centered #282

@AlleSchonWeg

Description

@AlleSchonWeg

Description

Hi,
i tried to center the Popup at the screen bottom. But its always align left:

Image

Do i something wrong or is this a bug? In my case the ContentPage is in a NavigationPage and the NavigationPage is part of a TabbedPage.
In opposition to the BottomSheet issue #281 the TabbedPage is covered by the Popup 👍

Steps to Reproduce

My demo xaml:

	<ContentPage.ToolbarItems>
		<ToolbarItem Text="Popup"
					 Clicked="ToolbarItem_Clicked" />
		<ToolbarItem Text="BottomSheet"
					 Clicked="ToolbarItem_Clicked_1" />
	</ContentPage.ToolbarItems>
	<ContentPage.Content>
		<AbsoluteLayout x:Name="ContainerView"
						BackgroundColor="BlueViolet">
			<Label Text="Hallo Page"
				   AbsoluteLayout.LayoutFlags="PositionProportional"
				   AbsoluteLayout.LayoutBounds="0.5,0.5"></Label>
			<sft:SfPopup x:Name="myPopup"
						 ShowFooter="False"
						 AnimationMode="SlideOnBottom"
						 AnimationDuration="300"
						 ShowCloseButton="True"
						 RelativeView="{x:Reference ContainerView}"
						 RelativePosition="AlignBottom">
				<sft:SfPopup.PopupStyle>
					<sft:PopupStyle OverlayColor="#80000000"
									CloseIconColor="Green" />
				</sft:SfPopup.PopupStyle>
			</sft:SfPopup>
			<sft:SfBottomSheet IsOpen="False"
							   x:Name="bottomSheet">
				<sft:SfBottomSheet.BottomSheetContent>
					<Label Text="BottomSheet Content"></Label>
				</sft:SfBottomSheet.BottomSheetContent>
			</sft:SfBottomSheet>
		</AbsoluteLayout>

.NET Version

.NET 8.0

Version with bug

1.0.7

Is this a regression from previous behavior?

Not sure, haven't tested other versions

Last Known Working Version

1.0.6

Affected platforms

Android

Affected Platform Versions

No response

Have you found a workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions