picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.57k stars 325 forks source link

Wpf: Fix WebView2 GotFocus/LostFocus/HasFocus #2499

Closed cwensley closed 1 year ago

cwensley commented 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.