So after some investigation we found that the parent control was taking focus. In this case it was a Navigation View (RadNavigationView) from telerik. We have worked around the issue by moving the webview2 from inside the navigation view to exist instead side by side. Using dock panel we were able to get the same display and functionality all be it with some slight rendering issues on open and close of the menu and having to force the display of the menu to be expanded.
WebView2 lossing focus on direction arrow key press
Miller, Dan
96
Reputation points
I am using the WebView2 control and when a user presses a direction arrow key on the webpage the WebView2 control losses focus and the focus is sent to another control,
I've tried setting the KeyboardNavigation.DirectionalNavigation="None" option on the control and the hosting controls with no success. I can handle the call in the event but this means the page doesn't receive the call.