Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drawer usage in Compose Material3

Is there a way to have the menu overlap the header and footer here?

I am using androidx.compose.material3.Scaffold and NavigationDrawer.

It seems like the Scaffold's drawer slot is removed - https://android-review.googlesource.com/c/platform/frameworks/support/+/1896804 so the instructions at https://developer.android.com/jetpack/compose/layouts/material?hl=hu#drawers no longer apply.

enter image description here

like image 562
Gabor Avatar asked Mar 10 '26 12:03

Gabor


1 Answers

Please have a look at ModalNavigationDrawer, which provides the drawer. You can use your Scaffold as a content of the ModalNavigationDrawer.

It seems like this has been split up into multiple components....

like image 73
Florian Reisinger Avatar answered Mar 13 '26 16:03

Florian Reisinger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!