Autoplay doesn't work after scrolling one loop with vertical property
See original GitHub issueEnvironment
React: 16.0.0-alpha.12
React native: 0.54.4
react-native-snap-carousel: 3.7.2
Target Platform:
Android (7.0)
iOS (10.3)
Steps to Reproduce
<Carousel
loop={true}
autoplay={true}
vertical={true}
sliderWidth={36}
itemHeight={36}
data={/*just two item*/}
...
/>
Actual Behavior
Autoplay doesn’t work after scrolling one loop
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Owl Carousel Won't Autoplay - Stack Overflow
I'm using the Owl Carousel on my site. According to their documentation, this piece of JavaScript should work ...
Read more >AutoplayOptions | Swiper - v8.4.5
Interface AutoplayOptions. Object with autoplay parameters or boolean true to enable with default settings. example: const swiper = new Swiper('.swiper', ...
Read more >Settings - lightGallery
Name Type Default
addClass # string ""
allowMediaOverlap # boolean false
appendCounterTo # string ".lg‑toolbar"
Read more >Config | reveal.js
bouncing the down arrow when they first encounter a vertical slide ... Alternatively, you can provide a function that returns the slide
Read more ><model-viewer> Examples and Documentation
Akin to the CSS touch-action property (which does not work due to some iOS bugs), the default 'pan-y' allows touch users to vertically...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue, I tried many props, cost almost 6 hours.
Then I found this:
Set
sliderHeight
,itemHeight
to 41 (50, or larger), it works.And if styles must need to be 36, you can set a wrapper View to wrap Carousel component, then set the wrapper View’s height to 36, and adjust the styles.
Like this
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