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

issue #73 => Infinite scroll in Android is not happening when loop={true}

Open ARIPRASATH4664 opened this issue 4 years ago • 17 comments

<Carousel layout={'default'} data={item} renderItem={this.renderItem} sliderWidth={viewportWidth} itemWidth={viewportWidth - 56} autoplay={true} loop={true} inactiveSlideScale={1} inactiveSlideOpacity={1} onSnapToItem={(index) => this.setState({ ActiveIndex: index }) } />

Scroll the carousel continuously it hangs at length 3, the loop doesn't exist anymore.

ARIPRASATH4664 avatar Feb 01 '21 06:02 ARIPRASATH4664

same here

leogiroux avatar Feb 03 '21 13:02 leogiroux

@leogiroux Tried with all suggestions over other bugs as well works good on ios, troubles in android

ARIPRASATH4664 avatar Feb 04 '21 03:02 ARIPRASATH4664

same here

pankti16 avatar Feb 16 '21 14:02 pankti16

same here

goldqwert avatar Feb 18 '21 09:02 goldqwert

same here

cheng1104 avatar Mar 01 '21 06:03 cheng1104

same here

huynhhq avatar Mar 01 '21 08:03 huynhhq

Same problem :(

minhnbh avatar Mar 01 '21 08:03 minhnbh

same here

SanJeong avatar Mar 01 '21 08:03 SanJeong

Same problem :(

apk

SanJeong avatar Mar 01 '21 08:03 SanJeong

same here

markssiw11 avatar Mar 03 '21 07:03 markssiw11

same here

wayne-tt avatar Mar 10 '21 02:03 wayne-tt

I have found it works well in performance but still have design limitations

Alternate package Click Here

Hope It Helps

ARIPRASATH4664 avatar Mar 10 '21 03:03 ARIPRASATH4664

I've found a fix. If you add loopClonesPerSide to your carousel, it will start work with android.

loop={true} loopClonesPerSide={CAROUSEL_ENTRIES.length}

ozanmanav avatar Apr 23 '21 15:04 ozanmanav

any solution

parmarravi avatar Sep 01 '21 15:09 parmarravi

Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2

dohooo avatar Oct 08 '21 04:10 dohooo

same here..

patissier-boulanger avatar Nov 05 '21 09:11 patissier-boulanger

same here... any solution

minhtet-BeeComTech avatar May 16 '22 04:05 minhtet-BeeComTech