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

Non-zero minimum value makes slider behave funny #2

Open
msandrini opened this issue Jan 18, 2019 · 0 comments
Open

Non-zero minimum value makes slider behave funny #2

msandrini opened this issue Jan 18, 2019 · 0 comments

Comments

@msandrini
Copy link

Hi, the lib works great, thanks! But I'm having an issue:
If I put negative values as the min prop with zero on the middle (like min={-100} max={100}), when the handler goes to the zero it snaps to the beginning of the slider as I'm dragging, and returns to the normal position for next value if I keep dragging.

Preact 8.4.2, slider 0.2.0

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