leecade / react-native-swiper

The best Swiper component for React Native.
MIT License
10.39k stars 2.34k forks source link

"bounces" prop isn't working #841

Open adammcarth opened 6 years ago

adammcarth commented 6 years ago

In the documentation there's a prop called bounces (which when set to true supposedly disables the slides from scrolling infinitely), however bounces isn't actually implemented anywhere in the source code.

Does anyone know if this got accidentally removed during a merge? I went back through the history but couldn't find anything.

siwonia commented 5 years ago

To disable infinite scrolling set loop={false}. With bounces={true} you enable a bouncing animation when reaching the end.

CDBridger commented 4 years ago

bounces doesn't work for me on android (does on ios). When scrolling to the last item on android no animation is run.