bryankeltonadams
02/01/2024, 7:20 PMZach Klippenstein (he/him) [MOD]
02/01/2024, 9:04 PMRalston Da Silva
02/02/2024, 8:37 PMInputMode.Touch
and InputMode.Keyboard
in Compose.
TextFields are focusable in both modes. Buttons are only focusable in Keyboard mode.
The use-case described here is in touch mode, so when a text field is focused, clicking on another button doesn't cause it to lose focus. However clicking on something else that is focusable in touch mode will cause the text field to lose focus.
An example usecase for this behavior: Clicking on a button to change the text style doesn't cause the textfield to lose focus, we can continue typing in the textfield.
Focus restoration when we navigate back to a previous screen is a feature that isn't implemented yet.bryankeltonadams
02/02/2024, 8:39 PMRalston Da Silva
02/02/2024, 8:47 PMIan Lake
02/03/2024, 7:20 PM