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

markerStyle not working when I disable the slider

Open BaderSerhan opened this issue 7 years ago • 3 comments

Hello. I am setting enabledOne={false} and/or enabledTwo={false} to disable my component, but my custom markerStyle is returning to the original shape of the marker; i.e. markerStyle is not working when the marker is disabled. However, implementing a customMarker gave me the results I desire, but I think it's not easy for the developer to think of this solution immediately (I spent almost a week thinking about it). I really like your component since it's is almost the only one that provides multiple markers, so I am opening this issue for you to take into consideration this special case and either add it in the documentation or provide a fix for it. Thanks for the amazing component, and wish you more to go!

BaderSerhan avatar May 03 '18 10:05 BaderSerhan

Thanks! Will try to fix this.

ptomasroos avatar Sep 01 '18 18:09 ptomasroos

Hey! Was this followed on?

superspartak avatar Aug 29 '22 17:08 superspartak

Hi, I also encountered this problem, the best I could think of was to overlap the block with another transparent block.

<View style={[containerStyle, { position: 'relative' }]}>
    <View style={{ position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, zIndex: 999 }} />
    <MultiSlider {...otherProps} />
</View>

Nazarii98 avatar Apr 17 '24 14:04 Nazarii98