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

commit-master picture commit-master  路  3Comments

AndriiBoiko picture AndriiBoiko  路  3Comments

chetanparakh picture chetanparakh  路  3Comments

kylehagler picture kylehagler  路  3Comments

AndrewSouthpaw picture AndrewSouthpaw  路  3Comments