diff --git a/src/CommunityToolkit.Maui/Views/Popup/Popup.shared.cs b/src/CommunityToolkit.Maui/Views/Popup/Popup.shared.cs index 060b490a1..e0291d942 100644 --- a/src/CommunityToolkit.Maui/Views/Popup/Popup.shared.cs +++ b/src/CommunityToolkit.Maui/Views/Popup/Popup.shared.cs @@ -384,7 +384,7 @@ protected override void OnBindingContextChanged() if (Content is not null) { SetInheritedBindingContext(Content, BindingContext); - + if (ReferenceEquals(Content.Parent, this) is false) { Content.Parent = null;