leecade / leecade/react-native-swiper

Changing the autoplay prop causes weird behavior with index

Open
#1,078 2 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

Which OS ?

iOS maybe more

Version

Which versions are you using:

  • react-native-swiper v1.6.0-rc1?
  • react-native v0.59.5
Expected behaviour

The same image should continue to be displayed when props.autoplay is updated

Actual behaviour

The image changes when props.autoplay is changed

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 issue #1078 with react-native-swiper v1.6.0-rc1 and React Native v0.59.5 on iOS, changing props.autoplay while viewing an image. Trace how the autoplay update affects the index and displayed image. Done means changing autoplay leaves the same image displayed.

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.