https://kotlinlang.org logo
#compose
Title
# compose
k

Kshitij Patil

11/29/2020, 4:57 AM
I have textfield in the backLayer of my Backdrop scaffold and I want to hide the softwareKeyboard (if shown) on
scaffoldState
changes. How can I achieve this?
m

matvei

11/30/2020, 11:56 AM
You can listen to the
scaffoldState.value
and close the keyboard when it changes.
You could get. software keyboard from the TextField callback IIRC