Assigned
Status Update
Comments
mo...@google.com <mo...@google.com>
co...@google.com <co...@google.com>
au...@google.com <au...@google.com> #2
Seeing the same issue in ModalBottomSheet from material3-android -> 1.4.0-alpha05
.
Description
Note: I will refer to ModalBottomSheet as MBS.
There is no definitive answer to the question of how MBS should work with SnackBar. Since MBS is modal by nature, it appears above all other UI elements, hiding the snackbar. To overcome this situation, it is necessary to create a snackbar within the content of the MBS as a workaround. In a solution like BottomSheetScaffold, the bottom sheet is not modal.
Request: Clarify the documentation on how MBS and SnackBar should interact.
Possible solutions:
1. Add modal support to BottomSheetScaffold.
2. Create a component like ModalBottomSheetScaffold.
What is the purpose of this new feature?
To understand the interaction between MBS and SnackBar or to develop a suitable component for this purpose. For example: showing the results of API requests with a snackbar while the MBS is open. Or to provide the community with documentation on the supported way to achieve this.