Hi! I have a Side Nav drawer that I'm implementing...
# compose
m
Hi! I have a Side Nav drawer that I'm implementing using
drawerContent
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?
Copy code
if (drawerScaffoldState.drawerState.currentValue != DrawerValue.Closed) {
     DisposableEffect(Unit) {
         onDispose {
       // do soemthing
        }
      }
 }
c
Pins are public (not just for you), so I removed the pin so that it doesn't show up for all 6k people in this channel as a pin.
­čĹŹ 1
m
Any ideas?