Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UWP - Onscreen keyboard closes when switching to another textbox

Tags:

I'm experiencing a strange bug(?) with my uwp app.

I have a page with multiple textboxes for user input that each have the InputScope set to number, which then opens the keyboard in tablet mode as expected. However if you tap on the next box the keyboard closes and a second tap is needed to open the keyboard. This also happens if the user hits tab to switch boxes.

I presume this has something to do with the Focus() event firing before the previous textbox has fired the loss of focus event but im unsure how to override the behavior.

How can i prevent the onscreen keyboard from closing, but also make sure the correct inputscope is still maintained?

Edit: Upon further investigation, the issue seems to be almost random. Sometimes you can move to different boxes and it remains open but other times it closes the keyboard every time.

like image 702
Takarii Avatar asked Feb 05 '18 08:02

Takarii


1 Answers

This issue has been resolved with some others, in Windows 10 version 1803 released on 30th April, 2018.

like image 189
Zubair Rana Avatar answered Sep 22 '22 12:09

Zubair Rana