material-components / material-components/material-components-android

[Slider] Track click target is too vertically narrow to reliably click

Open
#1,358 4 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request Widget: Slider
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.