Skip to content

[BottomSheet] Widget.Material3.BottomSheet.Modal should have enableEdgeToEdge by default, otherwise there will be a gap at the system navigation bar if the app uses a custom theme #4367

Closed
@ashnohe

Description

@ashnohe

Widget.Material3.BottomSheet.Modal should have <item name="enableEdgeToEdge">true</item> by default for SDK 35+, otherwise there will be a gap at the system navigation bar if the app uses a custom theme that inherits from Widget.Material3.BottomSheet.Modal and targets SDK 35 (at which point edge-to-edge is enforced).

See attached images, one showing a gap without enableEdgeToEdge and without a gap with enableEdgeToEdge.

Screenshot 2024-11-01 at 5 26 17 PM Screenshot 2024-11-01 at 5 27 04 PM

The documentation should also be updated to talk about the new BottomSheet behavior.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions