meliorence / meliorence/react-native-snap-carousel

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

Open
#810 17 comments 13 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

<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.

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

Start by reproducing the reported Carousel configuration on Android, continuously scrolling with loop={true} and a data length of 3. Inspect the carousel's Android looping behavior and verify that scrolling continues past the third item without hanging; the issue does not mention specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.