question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

in iOS device loop not working

See original GitHub issue

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 - put an x character between the square brackets ([]).)

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

not React Native bug

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

just iOS

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

debug and release as same

Environment

Environment: React: 16.11.0 React native: 0.62.2 react-native-snap-carousel: 3.8.4

Target Platform: Android (6.0) iOS (13.4.1)

Expected Behavior

loop set true need normal

Actual Behavior

just only loop twice, can’t continue to slide

Reproducible Demo

 <Carousel
          sliderWidth={screenWidth}
          sliderHeight={this.state.itemHeight}
          itemWidth={this.state.itemWidth}
          data={this.state.items}
          renderItem={this._renderBanner.bind(this)}
          firstItem={0}
          hasParallaxImages={true}
          inactiveSlideScale={0.932}
          inactiveSlideOpacity={this.state.opacity}
          loop={true}
          autoplay={true}
          autoplayDelay={500}
          autoplayInterval={3000}
          onSnapToItem={index => {
            this.setState({
              activeSlide: index
            });
          }}
        />

Steps to Reproduce

not steps

thx~

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

11reactions
CrisPhuongcommented, Sep 29, 2021

you can add loopClonesPerSide={5}

0reactions
dohooocommented, Oct 8, 2021

Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2

Read more comments on GitHub >

github_iconTop Results From Across the Web

iPhone Stuck in Boot Loop? How to Fix [2023 Latest] - TunesKit
If your iPhone stuck in boot loop and keeps restarting over and over again, just check 8 feasible solutions in this guide to...
Read more >
iPhone Stuck in Boot Loop [iOS 16 Supported] - iToolab
8 Useful Ways to Fix iPhone Stuck in Boot Loop · 1. Backup Your iPhone · 2. Update Your iPhone's Software · 3....
Read more >
Top 4 Ways to Fix iPhone Stuck on Apple Logo/Boot Loop ...
If your iPhone still easily get stuck on Apple logo/boot loop, you should definitely check out the latest solutions in 2022.
Read more >
10 Methods to Fix iPhone Stuck in Boot Loop - iMobie
It is a terrible problem that your iPhone stuck in a boot loop. ... Open it. Click Repair iOS System under Device Rescuer....
Read more >
iPhone Stuck in a Restart Loop [Fixed] | 5 Options - AppGeeker
Apple offers you another way to fix iPhone stuck in restart loop by putting the device into recovery mode and running system update...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found