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

Zaki Shaikh

03/17/2023, 5:17 PM
Hi everyone, I am using accompanist navigation-material, I have a bottomSheet in NavHost when I am navigating to it, it is opening in
HalfExpanded
State, I want to open it in
Expanded
State in order to occupy full screen. Anyone knows how to achieve that?
i

Ian Lake

03/18/2023, 6:03 AM
Looks like the work need to allow that was unblocked just recently: https://github.com/google/accompanist/issues/657#issuecomment-1370052222
z

Zaki Shaikh

03/18/2023, 6:11 AM
Yes exactly! what I want.
Do I use this temporary workaround to overcome my issue?
i

Ian Lake

03/18/2023, 7:03 AM
You'll probably want the one farther down (noting that it applies to every bottom sheet, and not something that applies on a per bottom sheet level as specifically pointed out)