react-native-snap-carousel icon indicating copy to clipboard operation
react-native-snap-carousel copied to clipboard

React native snap carousel no pause between slides

Open remitestut opened this issue 2 years ago • 2 comments

Hello,

Sorry for my title, I didn't know how to explain it. So, I'm using React-native-snap-carousel (3.9.1) on my EXPO application to add a simple carousel.

When I slide between slides, there is no wait / pause. With a fast swipe I can go directly to the last slide. But I want to make a break between slide and swipe again to go to the next slide.

The problem appear only on my device : Honor 20 / Android 10 I haven't any problem with some others devices like S10, or IOS dEvices.

Here is my carousel code :

<Carousel
    ref={carouselRef}
    keyExtractor={carouselKE}
    data={allSlides}
    sliderWidth={windowWidth}
    itemWidth={windowWidth}
    renderItem={RenderCarouselItem}
    onSnapToItem={(index) => setActiveSlide(index)}
    inactiveSlideOpacity={1}
    inactiveSlideScale={1}
    decelerationRate={5}
/>

I tried to use decelerationRate without success.

Does anybody got this problem with that lib ?

Thanks

remitestut avatar Apr 21 '22 09:04 remitestut

I have same problem

xogus303 avatar May 17 '22 08:05 xogus303

Hi @remitestut have you got any findings so far, I seems to have the same issue

lim1105 avatar Jul 04 '22 04:07 lim1105