Closed YourDeveloperFriend closed 5 years ago
Why is this not merged yet? I am facing the same issue. I also have the similar fix.
@mpowaga Any update on this PR? I still see this issue, thanks!
+1
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This bug is apparent when you use both
value
and children. Example:If you add a value to both
value
andlabels
, neither display in the react slider. Here's a jsfiddle demonstrating the bug. The offending code is in the_or
function, which relies onthis.props.children
, but doesn't pull the new children from the updated props incomponentWillReceiveProps
. Here's that same jsfiddle, with a fix, which I will include in a PR.