meliorence / meliorence/react-native-snap-carousel

The loop simply stops while swiping right when it reaches the 3rd index

Open
#987 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
10.5k
Forks
2.3k
PR merge metrics
No merged PRs in 30d

Description

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

Its a question or a bug maybe.
When I swipe to the right with loop on and loopClonesPerSide to be default 3, it simply stops at index 2 . However it does work smoothly while swiping to the left.

Cna somebody please tell me what could be the problem?

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

(Check the step you've followed - put an x character between the square brackets ([]).)

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

Yes its not. It probably with the loopClonesOerSide. When I increase it, it does work but too much rendering makes the app not work again.

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)?

(Write your answer here.)

Environment

(Write your answer here.)

Expected Behavior

I want to loop it infinitely

Actual Behavior

The loop just ends while swiping right.

(Write what happened. Add screencasts/screenshots!)

Reproducible Demo

(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

(Write your steps so that anyone can reproduce the issue in the Snack demo you provided.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, environment details, or reproducible demo is provided. Start by reproducing the Android-only behavior with loop enabled and loopClonesPerSide at its default, then compare right and left swipes; done means right swiping continues looping without excessive rendering.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.