-
-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BottomSheet Expanded #130
Comments
Hey 👋 yeah this is a known issue with accompanist bottom sheet. |
You can always just use the bottom sheet from material of course. The difference is that it won’t be registered as a destination in the navigation host, but as long as you have a state saved like on SavedStateHandle, you should be fine, to resume the bottom sheet for a given screen. Of course it won’t be as standalone thing, but you can make it work for sure 🙂 |
Here is a workaround if you are using ModalBottomSheet.
|
Just a note - for "confirmStateChange = { false }" it is better to return "true" as otherwise you'll be unable to close the bottom sheet by swiping it down |
I believe, not possible for MT3 |
Hi,
I would like to use the BottomSheet Style. It works but I would like the sheet to open in expanded state, as is possible with androidx.compose.material.ModalBottomSheetLayout but not with accompanist. If I use com.google.accompanist.navigation.material.ModalBottomSheetLayout, the BottomSheet opens fine, but I can't open it in full screen (Expanded). If I use androidx.compose.material.ModalBottomSheetLayout I can tell it to open as Expanded but the bottomSheet does not open.
Did you have an idea ?
The text was updated successfully, but these errors were encountered: