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

Support for float steps - Not only integers #23

Open
PanosSynetos opened this issue Jul 14, 2015 · 0 comments
Open

Support for float steps - Not only integers #23

PanosSynetos opened this issue Jul 14, 2015 · 0 comments

Comments

@PanosSynetos
Copy link

Hello Savio.
Here is the issue I found
The steps in between the starting/end point are always integers.

So if I have a slider that is min/max 0 1 and I drag to about 33% to the right,
the returned value is 0 and not 0.3

http://jsfiddle.net/28YCS/34/

Can I do something to overcome this?

On the same fiddle, you will see that the returned value behaves differently for the negative and the positive.
If i drag to 60% to the right, the value from 0 goes to 1. If i drag to the left, it only goes to -1 on the far left.

Thank you

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

No branches or pull requests

1 participant