Hide Android soft keyboard in HTML5?

Hello,

I’m building a browser game that is meant to target desktop/android. It works fine on desktop, but on android the soft keyboard pops up constantly – I believe because the hidden textfield openfl uses on html5 is focusing itself, which triggers the soft keyboard constantly. Is there a way to stop this? it’s super disruptive to the game.

I’ve got the same problem… 4 years later! :crazy_face:
In my case it happens when I remove TextField on pressing Enter button, somehow focus still stays with this TextField and it doesn’t get removed completely.
Anyway, setting focus to null helped:

stage.focus = null;

Is any way to know is soft keyboard popping up now or not for html5 target?
(I use FeathersEventType.SOFT_KEYBOARD_ACTIVATE in my Harman AIR app)