leecade / leecade/react-native-swiper

[Android] impossible to render list of elements

Open
#523 4 comments 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 ?

android

Version

Which versions are you using:

  • react-native-swiper v1.5.4
  • react-native v0.44
Expected behaviour

should display all the tabs

Actual behaviour

display only first tab

More:
When I display basic example, everything works fine. However when I try to use map over array to render simple view with text, it renders only first page, other pages of swiper are blank.

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 basic example and then the mapped array of simple views on Android with react-native-swiper v1.5.4 and React Native v0.44. Compare the rendering behavior between the two cases and trace the swiper entry point involved in creating pages. Done means all mapped tabs display their content rather than leaving later pages blank.

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.