Closed cwensley closed 1 year ago
The WPF IsFocused/IsKeyboardFocused/IsKeyboardFocusWithin don't appear to function with WebView2, but the GotFocus/LostFocus events appear to be wired up so we use those and track the state manually.
IsFocused
IsKeyboardFocused
IsKeyboardFocusWithin
WebView2
GotFocus
LostFocus
The WPF
IsFocused
/IsKeyboardFocused
/IsKeyboardFocusWithin
don't appear to function withWebView2
, but theGotFocus
/LostFocus
events appear to be wired up so we use those and track the state manually.