leecade / leecade/react-native-swiper

Pagination dot is not moving on both android and ios

Open
#1,273 11 comments 2 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

Version
Which versions are you using:

  • react-native-swiper 1.6.0
  • react-native v0.63.4

Expected behaviour
pagination dot should move on swiping to next item

Actual behaviour
pagination dot are not moving on swiping to next item. Some time it works some time it stays stuck at 0 position.

How to reproduce it
<Swiper
height={Metrics.heightRatio(320)}
containerStyle={styles.swiper}
style={styles.swiper}
loop={false}
dotColor={Colors.primary.white}
dotStyle={{opacity: 0.4}}
activeDotColor={Colors.primary.white}
>
{data.map((item) => (
<ImageHandler
key={fast-${item.id}}
source={{uri: item.path}}
style={styles.profileImg}
thumb={item.thumb}
/>
))}

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

Start by reproducing the issue with react-native-swiper 1.6.0 and React Native 0.63.4 using the provided Swiper and data.map example on both Android and iOS. Check when the pagination dot remains at position 0, and consider the issue done when the dot consistently follows the item during swipes on both platforms.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.