Skip to content

Commit ad3d8bd

Browse files
windows: fix splash screen blocking input
1 parent f10c1e3 commit ad3d8bd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

windows/RNSplashScreen/RNSplashScreen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ void winrt::RNSplashScreen::RNSplashScreen::Show() noexcept
5757
if (control != nullptr)
5858
{
5959
control.Opacity(1);
60+
control.IsHitTestVisible(true);
61+
control.IsEnabled(true);
6062
}
6163
}
6264

@@ -66,5 +68,7 @@ void winrt::RNSplashScreen::RNSplashScreen::Hide() noexcept
6668
if (control != nullptr)
6769
{
6870
control.Opacity(0);
71+
control.IsHitTestVisible(false);
72+
control.IsEnabled(false);
6973
}
7074
}

0 commit comments

Comments
 (0)