https://kotlinlang.org logo
#compose
Title
# compose
s

Sean Proctor

11/28/2023, 2:21 PM
Is there a way to get a smooth transition between a nav rail and a nav drawer using
DismissableNavigationDrawer
? My nav rail just kind of pops out of/into existence after the drawer opens/closes.
Copy code
DismissableNavigationDrawer(
    drawerContent = { DismissableDrawerSheet(...) },
    drawerState = drawerState
) {
    Row {
        if (drawerState.isClosed) NavigationRail(...)
        content()
    }
}