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

[Slider] The slider jumps to valueTo when interfering with the Home gesture

Open
#4,758 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget: Slider
Dominant language
Java
Stars
17.4k
Forks
3.2k
PR merge metrics
No merged PRs in 30d

Description

Description: With a Slider right on top of the Gesture navigation bar like in the picture, when sliding up to activate the Home gesture passing over the slider, the slider value always goes to its max value (the valueTo), like in the second picture.

Image

Image

Expected behavior: If I replace the Slider with a SeekBar, exactly in the same position, the issue is not present: its value does not change when sliding up to activate the Home gesture even when passing over it.

Image

Android API version: Android 15

Material Library version: 1.13.0-alpha13

Device: Samsung S25 Ultra

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

Reproduce the Slider behavior on Android 15 with Material Library 1.13.0-alpha13 using the reported Samsung S25 Ultra setup. Compare it with a SeekBar in the same position and verify that invoking the Home gesture over the Slider no longer changes its value.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
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.