leecade / leecade/react-native-swiper

White screen after switch tabs

Open
#703 6 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

os:
iOS

version:

  • react-native-swiper v1.5.13
  • react-native v0.48.3

When react-native-swiper used with tab navigatiotr (react-navigation), after switch to other tabs a few time and switch back, the swiper turns out a white screen.

It is a problem only on iOS, while it works well on Android. I found if I set "removeClippedSubviews: false" in index.js of react-native-swiper, the problem seems solved. However I have not done further test yet.

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 on iOS with react-native-swiper v1.5.13, react-navigation tabs, and React Native 0.48.3. Start in index.js and compare behavior with removeClippedSubviews enabled and disabled; done means switching tabs repeatedly no longer produces a white swiper screen.

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.