material-components / material-components/material-components-android
[Bottom Sheet] Weird animation when dismissing modal Bottom Sheet with back button/gesture on 1.10.0
Open
@afohrman is already working on this.
Since Mar 19, 2024.
bug
Widget: BottomSheet
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, there is weird animation artifact introduced on 1.10.0. I think it is related to adding predictive back press.
It only happens if you use back button or gesture to dismiss. Dismissing when tapped outside is not affected. As you can see, on 1.10.0 there is some sort of artifact as it is disappearing. Animation seems to stop and repeat a bit just as about to finish.
Video from 1.9.0
Video from 1.10.0
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.