React-native-swiper: swiper attribute height not working

Created on 15 May 2019  ·  3Comments  ·  Source: leecade/react-native-swiper

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

Most helpful comment

This repo dead: https://github.com/leecade/react-native-swiper/issues/713
Your issue is like other 480+ issues, will not be resolved in the short term.

All 3 comments

I have a resolution to workaround: use a View to include the Swiper,hope this is help

@zengyunLee Yes,It does work! But not the best way^^

This repo dead: https://github.com/leecade/react-native-swiper/issues/713
Your issue is like other 480+ issues, will not be resolved in the short term.

Was this page helpful?
0 / 5 - 0 ratings