meliorence / meliorence/react-native-snap-carousel
The loop simply stops while swiping right when it reaches the 3rd index
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 ([]).)
- I have read the guidelines regarding bug report.
- I have reviewed the documentation in its entirety, including the dedicated documentations 📚.
- I have searched for existing issues and made sure that the problem hasn't already been reported.
- I am using the latest plugin version.
- I am following the issue template closely in order to produce a useful bug report.
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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