react-native-snap-carousel: Loop doesn't work on some android devices

Is this a bug report, a feature request, or a question?

Bug

Have you followed the required steps before opening a bug report?

(Check the step you’ve followed - replace the space character between the square brackets ([]) by an x.)

Have you made sure that it wasn’t a React Native bug?

Unsure.

Is the bug specific to iOS or Android? Or can it be reproduced on both platforms?

Android only.

Is the bug reproductible in a production environment (not a debug one)?

Yes. On both environment.

Environment

Environment: React: 16.2.0 React native: 0.53.3 react-native-snap-carousel: 3.3.4

Target Platform: Android (8.0) iOS (11.4)

Expected Behavior

Like the result on iOS. When set loop={true}, the carousel can have infinite loop effect:

ios

Actual Behavior

On android, the carousel can’t loop infinitely but just repeat few loop and stop:

android

(Write what happened. Add screencasts/screenshots!)

Reproducible Demo

https://snack.expo.io/H11RLUlnm

(Paste the link to a Snack example in which the issue can be reproduced. Please follow the guidelines for providing a Minimal, Complete, and Verifiable example.)

Steps to Reproduce

Just try to keep scroll on android platform.

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 24
  • Comments: 27 (2 by maintainers)

Most upvoted comments

I found a workaround. set loopClonesPerSide > 3

I use the version 3.8.4 and face the same issue. @bd-arc

Same problem. No one got a solution to this problem?