diff --git a/feature/sessions/src/commonMain/kotlin/io/github/droidkaigi/confsched/sessions/SearchScreen.kt b/feature/sessions/src/commonMain/kotlin/io/github/droidkaigi/confsched/sessions/SearchScreen.kt index e4221c27e..d8a5c60c1 100644 --- a/feature/sessions/src/commonMain/kotlin/io/github/droidkaigi/confsched/sessions/SearchScreen.kt +++ b/feature/sessions/src/commonMain/kotlin/io/github/droidkaigi/confsched/sessions/SearchScreen.kt @@ -6,6 +6,8 @@ import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.imePadding import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.rememberScrollState +import androidx.compose.foundation.verticalScroll import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Scaffold @@ -149,7 +151,9 @@ fun SearchScreen( containerColor = MaterialTheme.colorScheme.surface, ) { innerPadding -> Column( - modifier = Modifier.padding(top = innerPadding.calculateTopPadding()), + modifier = Modifier + .padding(top = innerPadding.calculateTopPadding()), + ) { HorizontalDivider() SearchFilters( @@ -170,7 +174,10 @@ fun SearchScreen( when (uiState) { is SearchScreenUiState.Empty -> EmptySearchResultBody( searchWord = uiState.searchWord, - modifier = Modifier.imePadding(), + modifier = Modifier + .verticalScroll(rememberScrollState()) + .imePadding(), + ) is SearchScreenUiState.SearchList -> SearchList(