leecade / leecade/react-native-swiper

Fast swiping skips the pagination selection

Open
#535 6 comments 4 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.