Status Update
Comments
sp...@gmail.com <sp...@gmail.com> #2
Will this solve the problem?
val sheetState = rememberModalBottomSheetState(
skipPartiallyExpanded = true,
// manual lambda memoization
confirmValueChange = remember {
{ true }
}
)
If yes, then the problem may be related to
Description
Jetpack Compose version: 1.7 snapshot Jetpack Compose component used: many Android Studio Build: Koala feature drop C2 Kotlin version: 2.0.0
The following code no more behave normally, changes to
bottomSheetNavigator.openBottomSheet
no more trigger a recomposition and the display of the bottomsheet.See below for a working workaround by hosting the state outside of the remember.
Workaround