This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Slider: Discrete slider not initializing current value #1173
Labels
Comments
Quick codepen using latest sources show's it's broken as of 2017-08-24 |
Thanks for bringing this to our attention! Definitely seems like a bug. |
Based on fiddling with the unpkg URLs in @aaronhudon's CodePen, it looks as if this worked in 0.14.0 but doesn't work in 0.15.0. That should help us narrow down to investigate. Edit: Actually, 0.15.0 is when discrete was introduced, so this problem may have existed with discrete sliders from the beginning. |
Tried my best to provide a pull request and a (micro) fix for this. |
archnode
added a commit
to archnode/material-components-web
that referenced
this issue
Sep 6, 2017
yeelan0319
pushed a commit
that referenced
this issue
Sep 7, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What MDC-Web Version are you using?
v. 0.0.18
What are the steps to reproduce the bug?
What is the expected behavior?
The initial state of the slider is set to the value specified with aria-valuenow.
What is the actual behavior?
The initial value of the slider is shown (and initialized as) zero.
Other information
The behavior can be observed in the demos as well.
Thanks for your work on these great components!
The text was updated successfully, but these errors were encountered: