react-native-slider icon indicating copy to clipboard operation
react-native-slider copied to clipboard

Multislide support

Open anahitsk123 opened this issue 8 years ago • 8 comments

Hi guys,

thanks a lot for great job. Just a question here: How can I add another slider to have a range?

Thanks a lot.

anahitsk123 avatar Aug 19 '16 08:08 anahitsk123

Agree with @anahitsk123 , that would be super awesome!

skizzo avatar Jan 22 '17 13:01 skizzo

This would be extremely useful

jmancherje avatar Apr 27 '17 05:04 jmancherje

Multiple sliders are working on my side 🤔 Maybe this was included on one of the latest updates

HugoHeneault avatar Oct 10 '17 16:10 HugoHeneault

@HugoHeneault there's nothing in the readme about multi-slider support, can you show a snippet of your component?

jmancherje avatar Oct 10 '17 17:10 jmancherje

Well I just created multiple sliders in a loop...

{this.questions.map((question, i) =>
    <View style={styles.sliderContainer} key={i}>
        <Slider
            minimumValue={0}
            maximumValue={12}
            value={question.answer}
            onValueChange={value => question.answer = value}}
        />
    </View>
)}

HugoHeneault avatar Oct 10 '17 17:10 HugoHeneault

@HugoHeneault Oh I see, I interpreted this issue as one slider with multiple markers like this package https://github.com/JackDanielsAndCode/react-native-multi-slider. But now that I'm looking at this again I think it's a little ambiguous.

jmancherje avatar Oct 10 '17 17:10 jmancherje

I really need this feature! I've used react-native-multi-slider too, but It wasn't as customizable as react-native-slider. Please add this feature!

hiradary avatar Oct 04 '18 13:10 hiradary

Need it too.

cklinx avatar Nov 10 '18 18:11 cklinx