Android keyboards input

Having a hard time getting android keyboards to work.
First of all I had complaints about the keyboard being hidden as soon as users tried typing so I got the recommendation switching over to HiddenInputField input type.

If using TEXT as input trigger, nothing happens when typing (no action.text is provided) until you either click the autocomplete word or return button. Then you get the whole word. This doesn’t work when you want to visualise the text in a textfield.
If using MARKED_TEXT as input trigger, every single char click provides action.text BUT autocomplete doesn’t work on any of the 5 different android virtual keyboards I tried.

Is this a known issue or should I do it in another way?

You should use a combination of TEXT and MARKED_TEXT. See the input handler in Gooey for an example: https://github.com/britzl/gooey/blob/master/gooey/internal/input.lua

2 Likes

Thank you Britzl.
I will look into it immediately.

1 Like