Hi guys, I am working on the chat component for my App. For now I am keeping it up simple. “Enter” sends the message. So I Created a KeyDown listener:
input.text = ‘’;
And the problem I am having is when I change the text ( to clean up the input). I lost the focus. So I have to touch the input again, to gain the focus. I tried to force it ( Lib.current.stage.focus = input ) and several other weird workaorunds but nothing seems to work. Any Ideas?
P.S. It behaves the same on both Android and HTML5