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

[Standard Bottom Sheet] Clicks pass through standard bottom sheet to the view behind it

Open
#4,350 5 comments 0 reactions 1 assignee View on GitHub

@hunterstich is already working on this.

Since Oct 24, 2024.

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

Description

**Description:**
When clicking on the standard bottom sheet, it is possible to trigger clickable items on the view behind it.

**Steps to reproduce:**
In the catalog app, expand the standard bottom sheet to full height. Click on the bottom sheet to trigger clickable items from the view behind it like `Show Modal BottomSheetDialog` and the other switches. Check the video below.

https://github.com/user-attachments/assets/1b23e9ee-f3e0-49c8-bef4-eee7f6b6d3e6

**Expected behavior:**
Clicks don't pass through to the view behind when clicked on standard bottom sheet

**Android API version:**
Any

**Material Library version:**
1.13.0-alpha-07
1.13.0-alpha-06
1.13.0-alpha-05
1.13.0-alpha-04
1.13.0-alpha-03
1.12.0
And all others

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.