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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steps one by one with decimals without rounding #1112

Open
lomadejors opened this issue Nov 3, 2020 · 2 comments
Open

Steps one by one with decimals without rounding #1112

lomadejors opened this issue Nov 3, 2020 · 2 comments
Labels
Feature Feature requests/suggestions

Comments

@lomadejors
Copy link

Is it possible to have step : 1 and that when i set 5.1 in input and then i move the handler again it should go to 6.1 or 5.1 instead of rounding the number.

@lomadejors
Copy link
Author

just to clarify:

I got my bar created with step:1, however, I also use input numbers with exact input allowing me to enter any number so when I do so, the handle goes from 5.0 to 5.1. The problem is that if I drag the handle to a new position and since the slider was created with steps at 1, the value 5.1 resets to 5.0 and therefore any position I place it at is a whole number.

@leongersen leongersen added the Feature Feature requests/suggestions label Nov 17, 2020
@leongersen
Copy link
Owner

I understand what your are asking; this currently isn't a feature in noUiSlider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature requests/suggestions
Projects
None yet
Development

No branches or pull requests

2 participants