material-components / material-components/material-components-android
[Standard bottom sheet] Views hidden behind the bottom sheet respond to touch events.
@hunterstich is already working on this.
Since Jul 11, 2024.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.