leecade / leecade/react-native-swiper

Struggling to get up to date view on swiper/stale view on swiper

Open
#1,157 1 comment 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 ?

Android

Version

Which versions are you using:

  • react-native-swiper [1.6.0-nightly]
  • react-native v0.6.1
Expected behaviour

see most up to date state of child view in swiper

Actual behaviour

child view doesn't update

Steps to reproduce
  1. Install react navigation + swiper
  2. use tab navigator, put swiper as a tab
  3. set swiper tab as initial tab
  4. see swiper child views fine with initial state
  5. navigate to different tab
  6. navigate to swiper tab with params which swiper passes to child views
  7. see that child views haven't updated

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 Android issue with react-native-swiper 1.6.0-nightly, React Native 0.6.1, React Navigation, and a tab navigator using the numbered steps. Inspect how the swiper tab passes params to its child views after returning from another tab. Done means the child views display the most up-to-date state after navigation.

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.