From 29d147ca203260595f9355dfe956855a32590a7c Mon Sep 17 00:00:00 2001 From: Seungkeun Lee Date: Mon, 24 Oct 2022 14:52:33 +0900 Subject: [PATCH] Fix MauiPopup anchor position --- src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.tizen.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.tizen.cs b/src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.tizen.cs index 61a4e1dbc9..4341fbd0d1 100644 --- a/src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.tizen.cs +++ b/src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.tizen.cs @@ -70,9 +70,8 @@ public void ShowPopup() { var anchorView = VirtualView.Anchor.ToPlatform(); var anchorPosition = anchorView.ScreenPosition; - Content.ScreenToLocal(out float x, out float y, anchorPosition.X, anchorPosition.Y); Layout = new AbsoluteLayout(); - Content.UpdatePosition(new Tizen.UIExtensions.Common.Point(x, y)); + Content.UpdatePosition(new Tizen.UIExtensions.Common.Point(anchorPosition.X, anchorPosition.Y)); } else {