meliorence / meliorence/react-native-snap-carousel
Auto play carousel after end of images in slider
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Environment
(Write your answer here.)
Environment:
React: 16.11.0
React native: 0.62.2
react-native-snap-carousel: ^3.9.1
Target Platform:
Android (8.1)
Expected Behavior
Carousel should auto play after all images are being played.
- Use package and do this code
<Carousel
ref={(c) => { this._carousel = c; }}
data={this.state.entries}
renderItem={this._renderItem}
sliderWidth={Dimensions.get('window').width}
itemWidth={Dimensions.get('window').width}
autoplay={true}
autoplayDelay={500}
automaticallyAdjustContentInsets={true}
snapToStart={true}
/>
i have 5 images in list and 5 images are slides automatically 1 by 1, when it comes to last image then it automatically not start slider like it is not start from 1st image, it is stop at last image.
Do we have any property or anyway to get this things?
Please help me
Thank you
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
Reproduce the issue with the provided Carousel snippet using five images and autoplay enabled on Android. Start by tracing the carousel's autoplay behavior and determine what is needed for playback to return to the first image; done means the carousel continuously cycles through all images instead of stopping at the last one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100