Hello! I had a discussion about text field focus ...
# compose
p
Hello! I had a discussion about text field focus on issue tracker, but probably slack is a better place to continue it. I can’t understand, why would text field need focus after keyboard is dismissed? Google engineer says: “It allows the user to dismiss the keyboard, but still continue typing on the keyboard without the user having to hit tab multiple times to re-focus on the TextField that was previously focused.“. What means “hit tab multiple times to re-focus” here? User needs one click on text field to start editing, no matter focused it or not, am I missing something? Is there another way to show keyboard for a focused text field?
a
If I understood it correctly, it means that there may also be a hardware keyboard. After you dismiss the software keyboard, the focus won't be cleared so that you can continue typing with the hardware keyboard. You can test this in an emulator.
1
p
But if I don’t have a hardware keyboard, what’s the point of the focus to stay on the text field?
a
To maintain a consistent behavior.