Skip to content

[BUG] Pressing back while keyboard is open on focusable objects does not remove focus in ClockPage #10

@NicksPatties

Description

@NicksPatties

Describe the bug
When a text input is focused on the clock page, if I press the back button on my device, the field remains focused

Expected behavior
When a text input is focused on the clock page, if I press the back button on my device, the field is no longer focused

Observed behavior
The field is focused. Although I can't type anything in once the keyboard is no longer present, this contributes to UI jank.

To Reproduce
Steps to reproduce the behavior:

  1. Open TimeClock
  2. Press the task text field
  3. Press the back button on the device
  4. Observe that focus remains in the text field

Screenshots
If applicable, add screenshots to help explain your problem.

Device information (please complete the following information):

  • Device: Samsung Galaxy s10e
  • OS: Android Version 12

Additional notes
Maybe some clues here? https://stackoverflow.com/questions/71361664/jetpack-compose-intercept-back-button-from-soft-keyboard
Also look into onBackPressedDispatch owner.

Metadata

Metadata

Assignees

Labels

Priority 4Medium low priority: Work on this eventuallybugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions