material-components / material-components/material-components-android
[Slider] Track click target is too vertically narrow to reliably click
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 3.2k
- PR merge metrics
- No merged PRs in 30d
Description
Description: Clicking on Slider track does not change the thumb position and corresponding selected value.
Expected behavior: Clicking anywhere other than the thumb current position on the track should update the thumb location.
Additional info: This issue seems to only appear on Samsung devices. Tested on Galaxy S9 and Galaxy Fold running Android 9. Reproducible using the Material Components demo app for Slider (continuous and discrete).
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 with the Slider component and its Material Components demo app, reproducing the track-click behavior on the reported Samsung devices. Trace how clicks outside the thumb are handled for continuous and discrete sliders, then verify that clicking the track updates both the thumb position and selected value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100