Skip to content
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

[com.google.android.material.bottomsheet] Expanded BottomSheetDialog shouldn't have top insets when it's in the bottom split screen #4327

Open
ashnohe opened this issue Oct 2, 2024 · 0 comments

Comments

@ashnohe
Copy link

ashnohe commented Oct 2, 2024

Description:

Expanded BottomSheetDialog shouldn't have top insets when it's in the bottom split screen.

Repro steps:

  1. Open app in portrait
  2. Open Recents
  3. Select "split screen"
  4. Press the button to open the BottomSheetDialog
  5. Double-tap on the handle between the screens
    ==> App moves to the bottom split screen. Extra top insets above the header.

Expected behavior: there wouldn't be top insets above the header.

TopInsetsIssue_ExpandedBottomSheetDialog

This only occurs for expanded bottom sheets. This issue doesn't occur on Android 14. Note edge-to-edge was enforced on Android 15.

Sample app attached.

BottomSheetDialogTest.zip

Android API version:

Android 15 (SDK 35)

Material Library version:

1.13.0-alpha06

Device:

Tested on Pixel Fold

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants