react-rangeslider
react-rangeslider copied to clipboard
range slider with range selection
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!
That would be great! This functionality is implemented in https://github.com/mpowaga/react-slider and https://github.com/davidchin/react-input-range
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