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

[Slider] label broken up and not keeping up with thumb upon quick slide

Open
#3,290 0 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: The label is broken up with its circular and triangular part being set off. Also, upon releasing the thumb after performing quick sliding movements, the label stops and zooms out at an earlier position than the thumb does.

Screenshot_2023-03-04-11-57-09-077_com w2sv autocrop~2

Source code:

<com.google.android.material.slider.Slider
            android:id="@+id/sensitivity_slider"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:contentDescription="@string/slide_to_select_the_crop_sensitivity" />

Android API version: 31

Material Library version: observed on 1.8.0, 1.9.0-alpha01, 1.9.0-alpha02

Device: Xiaomi Redmi Note 10a Pro

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

No source file or test is named in the report. Start by reproducing the provided Slider configuration on Android API 31 with Material Library 1.8.0 and the 1.9.0 alpha versions, then check rapid sliding and release behavior; done means the label stays visually intact and tracks the thumb position.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
design, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.