alantoa / react-native-awesome-slider

🚀 An anwesome <Slider/> that supports various features haptic, lottie, animation, ballon, etc.
MIT License
228 stars 28 forks source link

How to show the bubble always without animating #56

Closed shahidcodes closed 4 months ago

shahidcodes commented 4 months ago

Is there any way to show the bubble always? and show it in the buttom instead of top?

AlirezaHadjar commented 4 months ago

Hi @shahidcodes

There isn't a way always to display the bubble. But you can patch the code, as it requires changing only a few lines of code to disable the animation and set the default opacity to 1 instead of 0

As for the bubble Y translation, you can set its translateY using bubbleTranslateY but you also need to patch the package and rotate the triangle to point upward.

shahidcodes commented 4 months ago

I did exactly that