Hololens 2 virtual keyboard sometimes does not pass value to textinput in WebView2
Description
We are attempting to implement uwp application for Hololens 2 using WebView2. Hololens 2 device is updated with insider preview build. We have encountered issue where on certain website the virtual keyboard does not update textinput field. This renders our app useless. When we try doing the same thing in Microsoft Edge on Hololens 2 the virtual keyboard works as expected. This is why we presume it is WebView2 issue.
Version Framework: UWP OS: Hololens 2 Win11 latest insider preview build
Repro Steps
- Download webview2_sample_uwp from https://github.com/MicrosoftEdge/WebView2Samples
- In Browser.xaml.cs change _homeUrl to "https://www.skoda-scholaris.ys-beta.cz/creator/"
- Have Hololens 2 with Microsoft insider preview build
- Deploy app to Hololens 2
- When application loads click on "External Sign In" button and attempt to write something into username or password field with virtual keyboard
- Observe that keyboard says "Can´t show preview" and pressing keys does not trigger any changes.
Virtual keyboard should change value of the focused text-input field.
@champnic @jennifer-jacobs Do you know the correct person to look into this issue?
Thanks for the bug report @ZbynekImmersive - sorry you are running into this. I've added it as a bug on our backlog.
You mentioned that this happens on "certain websites". Are you unable to enter text on any website and any text input field (does bing.com search work?) or only on the website you mentioned? If so I would check if there's anything obviously different between the inputs that work and those that don't.
@champnic I can confirm that this happens on any website using iframes (example: https://www.w3schools.com/html/html_iframe.asp)
Are there any updoming updates to the WebView2 UWP/HoloLens package?