material-components / material-components/material-components-android
[BottomSheetBehavior] BottomSheetBehavior doesn't respect system-wide animation settings
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
**Description:** `BottomSheetBehavior` doesn't respect system-wide animation settings, like animation duration scale. Instead, it always performs an animation when changing between states. This is particularly annoying for UI tests, which typically are run without animations and don't play well with widgets taking hundreds of milliseconds to settle.
**Material Library version:** 1.1.0-beta01, although I believe I haven't seen this mentioned in changelogs
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.
Research direction
Start by reproducing the issue with BottomSheetBehavior while the system animation duration scale is disabled, then trace the state-change animation path in the Material Components Android source. Done means state changes no longer run visible animations when system-wide animations are disabled, including the UI-test scenario described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100