Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Slider] Fix slider label not moving #4364

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

manabu-nakamura
Copy link
Contributor

@manabu-nakamura manabu-nakamura commented Nov 3, 2024

closes #4342

967dcd5 is incomplete (#2869 (comment) is not fixed). If the switch statement in the updateStateTextView() method (https://github.com/material-components/material-components-android/blob/master/catalog/java/io/material/catalog/bottomsheet/BottomSheetMainDemoFragment.java#L272-L292) is commented out, the slider label doesn't move. I want to add a new hook (OnDrawListener) and remove the hooks (OnScrollChangedListener (5e5eee0) and OnGlobalLayoutListener (967dcd5)). Does BaseSlider have a better hook?

@paulfthomas paulfthomas self-assigned this Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Slider] Slider does not follow bottom sheet
2 participants