Hey guys, I'm trying to change the bottom sheet sc...
# compose
f
Hey guys, I'm trying to change the bottom sheet scaffold Z index so that the bottom sheet can be displayed over the bottom navigation view, after using accompanist insetter that's not the case anymore, the bottom sheet is displayed behind the bottom navigation ModalBottomSheetLayout for the first bottom navigation screen (code in thread)
val zIndex = if (state.targetValue == ModalBottomSheetValue.Hidden) { 0f } else { 2f } ModalBottomSheetLayout( modifier = Modifier .navigationBarsPadding() .zIndex(zIndex), sheetState = state, sheetShape = BottomSheetShapes.large, sheetContent = { } )