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

range slider with range selection #18

Open
rdewolff opened this issue Jul 7, 2016 · 2 comments
Open

range slider with range selection #18

rdewolff opened this issue Jul 7, 2016 · 2 comments

Comments

@rdewolff
Copy link

rdewolff commented Jul 7, 2016

Have you planned to add the possibility to select a range within a range?

So for example, if I have a slider with dating range, I could move (a) and (b) as illustrated below :

1900          (a)         (b)                                2000
|-------------<>----------<>------------------------------------|

That would be great!

@stepankuzmin
Copy link

That would be great! This functionality is implemented in https://github.com/mpowaga/react-slider and https://github.com/davidchin/react-input-range

@misterfresh
Copy link

I needed that feature for a project so I added it.

The main problem is that in the current implementation of react-rangeslider the "handle" is very coupled with the "slider". You need to put the "handle" in a separate class so that you can add more of those easily.

Here is my version in case anyone is interested :
https://gist.github.com/misterfresh/27aa93a7c85559d35b9d97f17fe0f10d

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

3 participants