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
Rob Meeuwisse
08/23/2021, 8:44 AM
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.