meliorence / meliorence/react-native-snap-carousel
issue #73 => Infinite scroll in Android is not happening when loop={true}
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
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
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