react-native-slider
react-native-slider copied to clipboard
How to set track's style?
Is there a way to set the track style? I want to change the track's height, I mean the height of the track line, not the whole component height.
You'd need to defer to native platforms' docs. If they support it, then it can be exposed on the JS side and fed down to the native.
Can we get a feature request?
You can try @sharcoux/slider If you have issues with the version 4.0.0 which is brand new, you can try the 3.3.1 which is probably more reliable for now. It is basically the web implementation of this slider but made compatible with Android and iOS.
Is there a way to set the track style? I want to change the track's height, I mean the height of the track line, not the whole component height.
did you find any solution or fix? I want to use the official library.
+1, I tried all other libraries but this is only library that can work inside react-native-modal because of touch responder system. At this time, we cannot modify track styles. I haven't tried to set trackImage + thumb image yet
@luatnd So you tried @Sharcoux/slider and it doesn't work inside a react-native-modal, right? Do you want me to check if there is something I can do to fix this?
Glad to hear that @Sharcoux , it's all I want except working inside modal. I'm using swipe down to dismiss modal, the modal is taking higher touch priority.
Do you think that you could create a minimal sample code that reproduce the issue on any sandbox (codesandbox for instance)? Or at least provide a link to the lib you are talking about?
Updates?
updates?
No updates?
Updates or not?
No updates?
Guys, just use another lib. There are plenty out there, and this one is not more "official" than any other one, and it is less maintained. Move on.
No updates?
I am using this library: @miblanchard/react-native-slider
I use and maintain @sharcoux/slider with my company, but the lib from miblanchard seems good too depending on the use cases you have.
Closing in favor of #40