leecade / leecade/react-native-swiper
Swiper on button click jumps 2 slides
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Which OS ?
ios and android
Version
Which versions are you using:
- react-native-swiper v1.5.13
- react-native v0.56.0
Expected behaviour
On click the button go to the next slide
Actual behaviour
When i click to the button on the first time it jumps to the same slide again
How to reproduce mit>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce
- yarn add
react-native-swiper - Create a component like this
<Swiper
height={140}
showsButtons
>
<Text>Slide 1</Text>
<Text>Slide 2</Text>
</Swiper>
4.Click on the button to go to the next slide

Contributor guide
No contributing guide indexed for this repository
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
Start with the component example in the examples folder and reproduce the issue using the minimal Swiper setup described for react-native-swiper v1.5.13 and React Native v0.56.0. Trace the button navigation behavior and verify that one click from the first slide advances exactly one slide.
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