Unresolved reference: moveFocus
I'm using jetpack compose with kotlin to my current project, but I'm having this wired problem. For my OutLinedTextField I'm using ImeAction.Search but for the action, I cannot hide my keyboard.
keyboardActions = KeyboardActions(onSearch = {
FocusManager.moveFocus(FocusDirection.Down)
viewModel.SearchProduct(searchItem.value)
})
I cannot access moveFocus the error says Unresolved reference: moveFocus...