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.

Implement 'loop' mode

See original GitHub issue

If autoplay is set to true, the carousel jumps from the last slide to the first one whereas it would be better to provide an infinite loop.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:5
  • Comments:25 (9 by maintainers)

github_iconTop GitHub Comments

5reactions
bd-arccommented, Sep 21, 2017

Ok guys, I’ve got some great news: I’ve been working on the “infinite loop” mode and it’s coming along nicely.

In fact, you can already use the loop branch and see for yourself:

"react-native-snap-carousel": "https://github.com/archriss/react-native-snap-carousel#32c3353"

You can find the description of the relevant props here.

Now I need you to provide me with some feedback so I can fine-tune it before the release! This is still ‘work in progress’ (mostly on Android), but we’re almost there 😉

⚠️ If you test the plugin on Android, make sure to disable “JS Dev Mode” or, even better, to use a production version on a real device.

react-native-snap-carousel infinite loop mode

2reactions
bd-arccommented, Sep 19, 2017

Hi @6axter82,

I’ve previously been working on it, but I did face some nasty issues and weren’t able to dig deeper until… today 😃

It’s easily the most wanted feature at this time, and I really want to implement it. My hope is to be able to do so before the end of the month (maybe sooner). Stay tuned!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loop Mode - an overview | ScienceDirect Topics
Using semi-loop mode, a locomotive (MU) takes a round-trip in two adjacent routings, and is maintained in a depot on each loop.
Read more >
What is the optimum way to implement 'modes' in a for loop in ...
I would like to be able to have a for loop execute different code depending on what 'mode' it is in, but in...
Read more >
Assembly - Loops - Tutorialspoint
The JMP instruction can be used for implementing loops. For example, the following code snippet can be used for executing the loop-body 10...
Read more >
Run Loops - Apple Developer
Run Loops. Run loops are part of the fundamental infrastructure associated with threads. A run loop is an event processing loop that you...
Read more >
How to use AUTO LOOP to TRANSITION and do TRICKS!
Using loops to transition is a quick and effective way to get out of a ... you how to apply slip mode, the...
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