Skip to content

Commit ae3af22

Browse files
Update FlyoutViewHandler.Windows.cs (#31896)
1 parent 689f525 commit ae3af22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Core/src/Handlers/FlyoutView/FlyoutViewHandler.Windows.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ protected override void ConnectHandler(RootNavigationView platformView)
2626

2727
void OnLoaded(object sender, RoutedEventArgs e)
2828
{
29+
// Unwire the event to ensure it only fires once
30+
PlatformView.Loaded -= OnLoaded;
31+
2932
if (VirtualView is not null)
3033
{
3134
PlatformView.IsPaneOpen = VirtualView.IsPresented;

0 commit comments

Comments
 (0)