leecade / leecade/react-native-swiper

swiper attribute height not working

Open
#980 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 ?

iOS 12.2

Version

Which versions are you using:

  • react-native-swiper v15.14?
  • react-native v0.59.8
Expected behaviour

The dots should been within the swiper!

Actual behaviour

Simulator Screen Shot - iPhone X - 2019-05-15 at 11 24 19

Code
<Swiper style={styles.swiper} height={200} autoplay />
How to reproduce it

https://snack.expo.io/@qiankunli/react-native-swiper-demo

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 linked Expo Snack on iOS with the reported react-native-swiper and React Native versions, using the shown Swiper configuration. Trace how the Swiper height and pagination dots are laid out, then verify that the dots remain within the 200-height swiper rather than appearing outside it.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, 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.