There is a bug with the `FocusRequester.freeFocus(...
# compose
r
There is a bug with the
FocusRequester.freeFocus()
method. When we call freeFocus the textfield releasing focus but when we switch to another app and come back again the keyboard is appearing again As a workaround I’m calling
FocusManager.clearFocus()
instead of
FocusRequester.freeFocus()
r
You should be calling
clearFocus
as
freeFocus
is the opposite of
captureFocus
, it releases the capture but retains the focus on the field. See the docs.