[Preview4] Window.Current is null #4177
Labels
product-winui3
WinUI 3 issues
team-Reach
Issue for the Reach team
version-winui3preview4
WinUI 3 Preview 4 issues
Describe the bug
The
Window.Current
is 'null
in a Desktop project. I use it to retrieve whether the Ctrl and Shift keys are Down. Using CoreWindow.GetKeyState(). I hope there is an workaround for retrieving the KeyState.Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
It should not be null
Screenshots
![image](https://user-images.githubusercontent.com/9335559/107783566-b369e080-6d4a-11eb-98c7-3b2e61a445cd.png)
Version Info
NuGet package version:
[Microsoft.WinUI 3.0.0-preview4.210210.4]
Windows app type:
Additional context
The text was updated successfully, but these errors were encountered: