leecade / leecade/react-native-swiper

Swiper doesn't show Image (from URI) until scrolling

Open
#599 1 comment 0 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 Simulator

Version

Which versions are you using:

  • react-native-swiper v1.5.13
  • react-native v0.46.4
Expected behaviour

I have a Swiper with one Image-children (the same problem when I have multiple images as children). If I navigate to this screen I except to see the image.

Actual behaviour

The swiper area is black (invisible) until I scroll down a little bit.

How to reproduce it>
<Swiper height={300} >
    <View style={{flex: 1, backgroundColor: 'red'}}><Image style={{ flex: 1 }} source={{uri: 'https://s3.eu-central-1.amazonaws.com/xxxxxxx'}} /></View>
</Swiper>

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 running the provided Swiper and Image reproduction on the iOS Simulator with react-native-swiper v1.5.13 and React Native v0.46.4. Inspect the Swiper rendering and layout path involved when the screen first appears; done means the remote image is visible immediately without scrolling.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.