• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Android Virtual Keyboard (on screen keyboard iOS & Android) disappears after app focus lost

Plura

Member
It seams like keyboard_virtual_status() does not recognize the correct status after app has lost it's focus.
The onscreen keyboard disappears and no way to turn it back on.
Step event:
Code:
   if (!keyboard_virtual_status())
   {
       keyboard_virtual_show(kbv_type_email, kbv_returnkey_go, kbv_autocapitalize_none, true);
   }
I use GMS IDE 2.2.4.459 and runtime 2.2.4.366.
Tested on iOS 13.1.2 and Android 9.0

Would appreciate any help.
 

siread

Member
I saw the same thing. I managed to work around it by checking is_os_paused() and closing my input box and the virtual keyboard if so, then not actually checking the keyboard_virtual_status when opening the input box.
 
Top