zillow / react-slider

Accessible, CSS agnostic, slider component for React.
https://zillow.github.io/react-slider
MIT License
892 stars 231 forks source link

Handles are not updated when using controlled component #65

Closed cedricmessiant closed 6 years ago

cedricmessiant commented 8 years ago

I am using react-slider with redux. Handles are not updated when we pass a new value to ReactSlider component

albertogasparin commented 8 years ago

+1

pbruijnes commented 8 years ago

+1

maslianok commented 8 years ago

the same

klase commented 8 years ago

+1

mauricio-gamboa commented 8 years ago

+1

jvdhoeven commented 8 years ago

Current version v0.6.1 has a "value" attribute for controlled components

value {oneOfType([number, arrayOf(number)])} default: 0 Like defaultValue but for controlled components.

When i change the state of value it changes the corresponding handles.