leecade / leecade/react-native-swiper
Fast swiping skips the pagination selection
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
Version
Which versions are you using:
- react-native-swiper v1.5.10
- react-native v0.43.4
Expected behaviour
Which I am swiping fast the index should follow the sequence. It should not skip any of the index.
In short second swipe should not be allowed until first is completed
Actual behaviour
Index are skipped when swiping fast
So If I am on index 0 and swiped 3 times within a mili second then index 4 is shown as selected skipping 1,2,3 index.
How to reproduce it>
Steps to reproduce
Just swipe fast and keep eye on the pagination circle.
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 by rapidly swiping the pagination in react-native-swiper v1.5.10 on the listed React Native version, then trace the swipe and pagination handling. Done means rapid swipes no longer skip indexes, or a second swipe is prevented until the first completes.
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
- 45/100