Enable gestures on nav drawer when open
This commit is contained in:
parent
dc97ea7b78
commit
90ab7f9397
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ fun MarkdownNavigationDrawer(
|
||||||
val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed)
|
val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed)
|
||||||
val coroutineScope = rememberCoroutineScope()
|
val coroutineScope = rememberCoroutineScope()
|
||||||
DismissibleNavigationDrawer(
|
DismissibleNavigationDrawer(
|
||||||
gesturesEnabled = false,
|
gesturesEnabled = drawerState.isOpen,
|
||||||
drawerState = drawerState,
|
drawerState = drawerState,
|
||||||
drawerContent = {
|
drawerContent = {
|
||||||
DismissibleDrawerSheet {
|
DismissibleDrawerSheet {
|
||||||
|
|
Loading…
Reference in a new issue