Fixed
Status Update
Comments
ke...@google.com <ke...@google.com>
se...@google.com <se...@google.com>
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
Description
recent:
androidx.compose.material3:material3:1.3.0
androidx.compose.material:material:1.8.0-alpha02
Why does material3 BottomSheetScaffold pass the modifier parameter to a child Surface element that only wraps the body content of the BottomSheetScaffold, instead of to the parent layout for the entire component?
This differs from the material BottomSheetScaffold behavior which passes the modifier to a Surface wraps the entire parent layout.
Resulted in a tricky migration from material to material3 for this component where we wrap BottomSheetScaffold inside the content body of a parent Scaffold which contains a bottom bar. But with the material3 version of BottomSheetScaffold, the padding from that parent Scaffold now can no longer be passed as a modifier directly to the child material3 BottomSheetScaffold