leecade / leecade/react-native-swiper

White-screen in Android when wrapping Swiper with a ScrollView

Open
#920 5 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

I have a ScrollView around the Swiper component in order to have a "refreshControl".
This runs fine on iOS, but not on Android.

This is reproduced in this snack https://snack.expo.io/Sy2nReYMN (toggle OS in the bottom right corner)

Expo SDK 32
react-native-swiper 1.5.14

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 with the linked Expo Snack and reproduce the white screen on Android with a ScrollView wrapping Swiper, then compare the behavior with iOS. Trace the interaction between ScrollView, Swiper, and refreshControl in react-native-swiper 1.5.14. Done means the wrapped component renders on Android while retaining the requested refreshControl behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.