material-components / material-components/material-components-android

[BottomSheetDialogFragment] Weird transparent mask sliding entrance when opening BottomSheetDF

Open
#2,420 3 comments 0 reactions 1 assignee View on GitHub

@michaldrabik is already working on this.

Since Oct 11, 2021.

bug Widget: BottomSheet
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Version: 1.4.0 (also happens on 1.5.0-alpha02)
Android API: 29

This is something I can't overcome and is pretty annoying.
When on API 29 and opening BS the transparent mask slides up along with the sheet.
This does not happen on API 21-23 (mask fades in properly while bottom sheet slides up).
Please see attached video for an example:

https://thumbs.gfycat.com/MiserableDefenselessBittern-mobile.mp4

Kind Regards

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.