onRelease should have access to value
andrewdang opened this issue · 1 comments
andrewdang commented
I was wondering if it was possible to call a function with the value using onRelease instead of the mouse event since I don't want to have to do checks in my onChange handler.
<ReactRanger
...
onRelease={value =>
this.setState({ value })
}
>
aphillipo commented
Won't the value have already been set by the onChange?