leecade / leecade/react-native-swiper
Swiper changes index unwantedly on Redux update
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 12
Version
Which versions are you using:
- react-native-swiper v^1.6.0-nightly.5
- react-native 0.61.4
Problem
When redux updates the swiper's elements asynchronously, the swiper's index is changed to the index of the element before the current element when it should have just stayed the same.
This issue does not seem to affect my Android phone.
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 on iOS 12 with react-native-swiper v1.6.0-nightly.5 and React Native 0.61.4 while Redux updates the swiper elements asynchronously. Trace how the current index changes during that update; done means the swiper stays on the current element, matching the Android behavior.
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
- Mostly clear
- Newbie friendliness
- 35/100