[Slider] disableSwap
prop is returning an incorrect value
#32381
Labels
bug 🐛
Something doesn't work
component: slider
This is the name of the generic UI component, not the React module!
Duplicates
Latest version
Current behavior 😯
Enable
disableSwap
, drag the first dot all the way pass the second dot. The return value is wrong and is not the actual values.https://codesandbox.io/s/disableswap-broken-urlmbd?file=/demo.js
With the above sandbox, if you drag the 2nd dot all the way to the end of the slider area, the return value end up to be [60, 100] when is supposed to be [60, 60].
Expected behavior 🤔
Expected the return values to match what the Slider is presenting.
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
`npx @mui/envinfo`
The text was updated successfully, but these errors were encountered: