React-native-swiper: horizontal = {false} has no effect

Created on 10 Jul 2018  路  10Comments  路  Source: leecade/react-native-swiper

Which OS ?

Android

Version

  • "react-native-swiper": "^1.5.13"
  • react-native v0.55

Expected behaviour

flip vertically

Actual behaviour

flip horizontally. options is not working

Most helpful comment

In Android, it use ViewPagerAndroid, and ViewPagerAndroid has no horizontal prop...

All 10 comments

i got this problem too

I have the same problem in Android. iOS works fine with that properti.

Still no fix nor workaround on this one?

No.. still waiting for this fix also.

@KristjanVall vertical paging not work in android

@Anasmp Yes, when i tried then it didn't work (android) in iOS it worked.

In Android, it use ViewPagerAndroid, and ViewPagerAndroid has no horizontal prop...

+1

It has issue in their previous version of package. but here is a fix with another change
Make sure to import like this.
import Swiper from '@nart/react-native-swiper'

https://www.npmjs.com/package/@nart/react-native-swiper

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Liqiankun picture Liqiankun  路  3Comments

ruben-kasaz picture ruben-kasaz  路  3Comments

chetanparakh picture chetanparakh  路  3Comments

nicolabortignon picture nicolabortignon  路  3Comments

kliuj picture kliuj  路  3Comments