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

Keeping handler inside slider #150

Open
sebmor opened this issue Apr 20, 2018 · 1 comment
Open

Keeping handler inside slider #150

sebmor opened this issue Apr 20, 2018 · 1 comment

Comments

@sebmor
Copy link

sebmor commented Apr 20, 2018

How would we change the algorithm / code to make it possible for the handler to stay within the boundaries of the slider?

Right now the handler always goes out 50% on the far left and right because the tracking point is in the middle of the handler.

@designbyadrian
Copy link

Just use CSS? You can write your own handles:

<Rheostat handle={MyHandle} />

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

2 participants