I'm using multiple webviews2 inside a WPF tabcontrol, one webview per tabitem
When you switch tab, the focus inside the webview is lost.
The webview still have keyboardfocus but the activeElement is not the same.
Hey @Yannouu - thanks for the bug report! This will get fixed with some rearchitecture work we are currently doing, and looks related to #1134. I'll link this to that scenario.
Hello,
I'm using multiple webviews2 inside a WPF tabcontrol, one webview per tabitem When you switch tab, the focus inside the webview is lost. The webview still have keyboardfocus but the activeElement is not the same.
SDK: 1.0.1133-prerelease Runtime: edge 97.0.1072.69 Framework: WPF OS: WIN 10
You can reproduce this in the webview2 sample, WebView2WpfBrowser project for example.
Simply replace the single webview by a tabcontrol with 2 webview :
Focus the bing searchbar, switch to tab2, switch back to tab1; focus is not inside the searchbar anymore.
Regards
AB#36775741