-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slider with marks
and step=null
gives NaN when using arrow keys off the end
#45049
Comments
I'd consider this a bug. Using keyboard arrow should not goes beyond |
This is also reproducible in the Slider docs under the Restricted Values demo: https://mui.com/material-ui/react-slider/#restricted-values |
This is a regression from #44537. It works in v6.1.10 but fails in v6.2.0. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @joshkel How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
Steps:
Current behavior
Trying to go off the right edge sets the value to NaN.
Expected behavior
Stop at the right edge.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: slider nan
The text was updated successfully, but these errors were encountered: