[Slider] Dragging slider with onChangeCommitted prop changes other value #27950
Labels
bug 馃悰
Something doesn't work
component: slider
This is the name of the generic UI component, not the React module!
Continuing #27800,
Current Behavior 馃槸
Dragging slider with onChangeCommitted prop changes other value when mouseup happens near the other thumb.
Expected Behavior 馃
It should only change the value of the thumb which is being dragged.
Steps to Reproduce 馃暪
https://codesandbox.io/s/material-demo-forked-vxsmr?file=/demo.js
Context 馃敠
Trying to drag and change first value near to second value but when doing mouseup second value moves up and It gets difficult to select the value.
If the 2nd value is 80 and I want to change 1st value 20 to 60, 2nd value moves up, Which is not required.
The text was updated successfully, but these errors were encountered: