Open
Description
Clicking on the mark labels of a range slider will not update the slider.
Steps to reproduce:
- got to the http://react-component.github.io/slider/examples/marks.html
- find the
Range with marks
orRange with marks and steps
sliders - click on any label
Expected:
The slider should be updated, the nearest (or last changed) handler should jump on the above the label.
Result:
The slider is not updated, the handlers are not moved at all.
The problem as I can see is that the value
passed from onClickMarkLabel
is totally ignored and the bounds are not recalculated, so the onChange
handler will be fired with previous bounds
.
Metadata
Metadata
Assignees
Labels
No labels