Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Slider] Dragging slider with onChangeCommitted prop changes other value #27950

Open
2 tasks done
imsuvesh opened this issue Aug 24, 2021 · 1 comment
Open
2 tasks done
Labels
bug 馃悰 Something doesn't work component: slider This is the name of the generic UI component, not the React module!

Comments

@imsuvesh
Copy link

Continuing #27800,

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

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 馃暪

pic1

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.

@imsuvesh imsuvesh added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Aug 24, 2021
@eps1lon eps1lon added bug 馃悰 Something doesn't work component: slider This is the name of the generic UI component, not the React module! and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Aug 25, 2021
@ZCai319
Copy link

ZCai319 commented Dec 7, 2022

Does anybody know if you can make the Slider onChangeCommitted slide like the onChange slider?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 馃悰 Something doesn't work component: slider This is the name of the generic UI component, not the React module!
Projects
None yet
Development

No branches or pull requests

3 participants