leecade / leecade/react-native-swiper
onIndexChanged error
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 ?
windows
Version
Which versions are you using:
- react-native-swiper v1.6.0
- react-native 0.64.2
Expected behaviour
onIndexChanged
Actual behaviour
after setState the index, The step size of onIndexChanged will not 1 or -1
How to reproduce it>
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
Steps to reproduce
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 by reproducing the reported behavior in an example under the examples folder using react-native-swiper 1.6.0 and React Native 0.64.2. Exercise onIndexChanged after setting the Swiper index and record whether its changes skip values; done means the behavior is reproduced and the callback advances only as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100