Thread
#compose
    rsktash

    rsktash

    1 year ago
    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()
    Rob Meeuwisse

    Rob Meeuwisse

    1 year ago
    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.