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.

autoPlay crashes with infiniteLoop and !swipeable set

See original GitHub issue

The component crashes after passing through the first loop. This only happens when swipeable is disabled and infiniteLoop is enabled.

<Carousel
  swipeable={false}
  showThumbs={false}
  autoPlay
  infiniteLoop
>
  {[...].map((url) => <CustomComponent url={url} />}
</Carousel>
Error message

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

Infinite loop that does not crash but causes 300% CPU
I have this code that makes my app hang and Expo using 300% CPU. It looks like an infinite loop ...
Read more >
Swipe Gallery infinite loop - Google Groups
It is possible to use our event system to loop the gallery forever, but this makes the autoplay impossible to ever stop. (Normally,...
Read more >
How to Enable Autoplay for SwiperJS React - YouTube
In this video I will quickly explain how to enable the autoplay feature in Swiper React based carousels.
Read more >
Playback User Guide | MultiTracks.com Help Center
Infinite Loop Preset (Pro feature): Would you like a song section to ... Disable Loop: Enable this setting if you want a MIDI...
Read more >
Fully Kiosk Browser & App Lockdown Help
The intent of most people setting up kiosk mode is to prevent the user from ... In the Fully Kiosk app swipe from...
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