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

[Standard bottom sheet] Views hidden behind the bottom sheet respond to touch events.

Open
#4,222 1 comment 0 reactions 2 assignees View on GitHub

@hunterstich is already working on this.

Since Jul 11, 2024.

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

Description

**Description:**

Views hidden behind the bottom sheet respond to touch events.

**Source code:**

In your Catalog app,
Change [cat_bottomsheet_fragment.xml](https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/bottomsheet/res/layout/cat_bottomsheet_fragment.xml) as following

```xml




```
Then run catalog app,
Expand standard bottom sheet.
Tap bottom sheet anywhere
When tapped, the checkboxes hidden behind the bottom sheet respond and checked or unchecked.

**Expected behavior:** The checkboxes hidden behind the bottom sheet never respond.

**Android API version:** API 31

**Material Library version:** [1.13.0-alpha04](https://github.com/material-components/material-components-android/releases/tag/1.13.0-alpha04)

thx

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.