79109084

Date: 2024-10-21 08:03:21
Score: 1.5
Natty:
Report link

Now I found how to fix it. Just simply add focusRestorer to modifier can fix it like:

Box(modifier = Modifier.focusRestorer()) {...}

We can also add a focusRequester to focusRestorer, in case of using our own focus logic.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Joseph Hsiao