Enable gestures on nav drawer when open

This commit is contained in:
William Brawner 2024-08-21 22:12:25 -06:00
parent dc97ea7b78
commit 90ab7f9397

View file

@ -30,7 +30,7 @@ fun MarkdownNavigationDrawer(
val drawerState = rememberDrawerState(initialValue = DrawerValue.Closed)
val coroutineScope = rememberCoroutineScope()
DismissibleNavigationDrawer(
gesturesEnabled = false,
gesturesEnabled = drawerState.isOpen,
drawerState = drawerState,
drawerContent = {
DismissibleDrawerSheet {