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?Rihards
03/01/2023, 1:55 PMLaunchedEffect(Unit) {
snapshotFlow { scrollState.value }.collect {
focusManager.clearFocus()
}
}Brendan Weinstein
03/02/2024, 3:07 AM