material-components / material-components/material-components-android
[MaterialSwitch] Switch animation
Open
Nobody has claimed this yet.
bug
Widget: Switch
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
The current switching animation doesn't match M3 guidelines (switch thumb should stretch when moving, animation should be kinda elastic and so on):
https://user-images.githubusercontent.com/82187521/215977644-e82a4ade-ed17-4885-b850-b03f0f1a1365.mp4
**Material Library version:** 1.8.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.
Research direction
Start by locating the MaterialSwitch animation implementation and compare its current behavior with the linked video and M3 guidelines. Done means the thumb stretches during travel and the motion has the requested elastic character.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- design, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100