leecade / leecade/react-native-swiper
onIndexChanged not working properly
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 ?
Both
Version
Which versions are you using:
- react-native-swiper v? 1.5.13
- react-native v0.?.? 0.55
Expected behaviour
onIndexChanged should fire on swipe
Actual behaviour
onIndexChanged is only happening on load, but not on swipe
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
Reproduce the issue with react-native-swiper v1.5.13 and React Native 0.55, using a swipe while observing onIndexChanged. Trace the component's onIndexChanged handling to determine why it fires on load but not on swipe; done means the callback fires for each index change caused by swiping.
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