Manojna Chintapalli
01/19/2022, 8:07 PMdrawerContent
in the Scaffold
of BottomSheetScaffold
and the bottomsheet is always displayed at the bottom partially(acc. to the designs). My issue is that when I open Side Nav drawer the bottomsheet is covering some contents of the Nav drawer at the bottom. I am able to collapse the bottomsheet all the way to the bottom when Side Nav is opened by using DisposableEffect
but is there any other way to achieve this without the brute force method?
if (drawerScaffoldState.drawerState.currentValue != DrawerValue.Closed) {
DisposableEffect(Unit) {
onDispose {
// do soemthing
}
}
}
Colton Idle
01/19/2022, 8:45 PMManojna Chintapalli
01/19/2022, 10:12 PM