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

[RangeSlider] RangeSlider draw redundant line when two thumbs overlapped

Open
#3,289 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

### Original Issues
- #1394
- #1924

### Still happen in 1.8.0

ScreenShot
image

Library Version
- com.google.android.material:material:**1.8.0**

Device
- Samsung Galaxy Tab A 10.1 (**SM-P580**)
- Android 8.1.0 (**API 27**)
- Samsung Experience 9.5
- 3.18.14-15948922 ( gcc version 4.9.x 20150123 (prerelease) (GCC) )

Build
- compileSdk 33
- targetSdk 33
- minSdk 21

Repro Repo
- https://github.com/valiantwarrior/RangeSliderSample

Source code
```xml


```

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 RangeSlider shown in the issue and reproduce the overlap case using the linked RangeSliderSample repository on the described Android configuration. Compare the rendering when both thumbs overlap with the current screenshot; done means the redundant line is no longer drawn in that state.

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
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.