leecade / leecade/react-native-swiper

swiper issue while navigating to and from a page

Open
#887 0 comments 1 reaction 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 ?

MacOS Seirra

Version

Which versions are you using:

  • react-native-swiper v1.5.13
  • react-native v0.55.4
Steps to reproduce

it happens only on iPhone (in android it's fine) ->

  1. Route from one of the swiper screen (just not the first one) to another page
  2. use navigation.goBack(null) on that page back to the swiper
  3. it jumps back to the first swipe screen.
Expected behaviour

Stay on the same swiper screen.

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 iPhone steps with react-native-swiper v1.5.13 and react-native v0.55.4, focusing on the swiper screen and navigation.goBack(null). Inspect how the swiper's current screen is retained when leaving and returning. Done means returning from another page preserves the previously selected swiper screen instead of jumping to the first.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
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.