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 step
unexpected behavior
#2855
Comments
step
unexpected behavior
@wes337 @rtivital Updated to See: https://codesandbox.io/s/mantine-slider-step-problem-5-6-4-l0zmlx?file=/src/App.js |
Yeah, you’re right. I will take another look into this |
Fixed in 5.7.2. First case was fixed, second case should work fine – user should be able to reach the end of the slider independent of the |
What package has an issue
@mantine/core
Describe the bug
When using
Slider
component setting themin
value to an odd number and settingstep
value to an even number, the step is not behaving correctly (goes to even number). The dragging also seem to be lagging behind.This is the same when the
max
value is set to an odd number when thestep
value is an even number.What version of @mantine/hooks page do you have in package.json?
5.6.3
If possible, please include a link to a codesandbox with the reproduced problem
https://codesandbox.io/s/mantine-slider-step-problem-ophjnt?file=/src/App.js
Do you know how to fix the issue
No response
Are you willing to participate in fixing this issue and create a pull request with the fix
No response
Possible fix
No response
The text was updated successfully, but these errors were encountered: