-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: Discrete slider not initializing current value #1173
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. |
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: