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

[Slider] Slider does not follow bottom sheet

Open
#4,342 7 comments 1 reaction 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: If we place a Slider with visible Label, the label does not move up or down inside a bottom sheet dialog.

Expected behavior: It should follow the dialog.

Source code:
image

After bottom sheet goes down:
image

The label position is not following the sheet.

Minimal sample app repro: -

Android API version: All

Material Library version: 1.13.0-alpha06

Device: -

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 issue with a Slider showing its label inside a bottom sheet using Material Library 1.13.0-alpha06, then observe the label while the sheet moves. The issue has no minimal sample app, named files, or tests; done means the label follows the bottom sheet in all positions on Android APIs.

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
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.