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 non-linear ranges #3

Closed
etimberg opened this issue Jun 24, 2018 · 4 comments
Closed

Support non-linear ranges #3

etimberg opened this issue Jun 24, 2018 · 4 comments

Comments

@etimberg
Copy link
Contributor

Got this idea when playing with the custom-steps sample. Would be cool to support a logarithmic interpolation on the slider.

Implementation Ideas

  1. Built in support for 'linear' and 'logarithmic' interpolation
  2. Custom interpolation support via props
@tannerlinsley
Copy link
Collaborator

The scale used internally could easily be exposed. All it does is translate a value into a width percentage. :)

@etimberg
Copy link
Contributor Author

Already working on it ;)

@tannerlinsley
Copy link
Collaborator

Nice!

@etimberg
Copy link
Contributor Author

Done in #5

pont1s pushed a commit to pont1s/tanstack-ranger that referenced this issue Apr 10, 2024
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