WinUI 3 + WebView2: On-screen keyboard does not appear

231 Views Asked by At

I am creating an application in WinUI 3 with WebView2 according to this example. It has some user interface and space to display web pages. The app will run on a kiosk without a keyboard and mouse, just a touch screen. As OSK we use the proven Hot Virtual Keyboard.

The problem is that the keyboard is only displayed when entering the TextBox, but not when entering the input of the web page in the WebView2 control. In the Edge browser itself, in web pages, the keyboard displays well.

Developed on Windows 10
Running on Windows 11

I found similar questions, but they were all related to WPF applications and not to WinUI 3, and the solutions were not relevant.

0

There are 0 best solutions below