Rihards
03/01/2023, 10:10 AMrememberScrollState().isScrollInProgress
value and execute LocalFocusManager.current.clearFocus()
when scroll is in progress. What’s the recommended way to handle keyboard closure in this situation?LaunchedEffect(Unit) {
snapshotFlow { scrollState.value }.collect {
focusManager.clearFocus()
}
}