RichardRNStudio / react-native-slider-intro

A simple and full customizable React Native package which implements a unique slider.
MIT License
130 stars 3 forks source link

option to configure the width of the swipe #26

Closed PavelPolyakov closed 4 months ago

PavelPolyakov commented 5 months ago

Good day,

Thank you for this module, I just started to use it and it feels great. What I also observed, that the width of the swipe to scroll through the scene is quite big. Is there an option to configure it? So swipe happens more in the nature of kinematic scrolling (short, but strong swipe = next slide).

I first thought that navContainerMaxSizePercent has relation to it, but it does not seem so.

Thank you, looking forward to your answer.

RichardRNStudio commented 5 months ago

Hi @PavelPolyakov, I'll have a look on it soon, thank you for your question, it is a good idea to investigate it.

RichardRNStudio commented 5 months ago

Hi @PavelPolyakov, I've implemented the new property: limitToSlide You can find the related documentation in the release notes: v2.1.14 The README.md has been also updated with the description of the new property. Please let me know if you experience any issues.

PavelPolyakov commented 4 months ago

Thanks for the swift update. Definitely will use that! You are the best 📈

RichardRNStudio commented 4 months ago

Thank you @PavelPolyakov 🙏