React-native-swiper: Manually swipe left right not working in ios

Created on 15 Jun 2018  Â·  10Comments  Â·  Source: leecade/react-native-swiper

Which OS ? IOS

Version 0.55.4

Which versions are you using:

  • react-native-swiper v? 1.5.13"
  • react-native v0.?.?

Expected behaviour

swiping left & right should work

Actual behaviour

swiping is poosible only using buttons not by swapping left right

How to reproduce it>

To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
-
removeClippedSubviews={false}
showsButtons={true}
showsPagination={false}
nextButton={}
prevButton={}
buttonWrapperStyle={{backgroundColor: 'transparent',
flexDirection: 'row', position: 'absolute', top: 0, left: 0, flex: 1, paddingHorizontal: 10, paddingVertical: 0,
justifyContent: 'space-between', alignItems: 'center'}}
index={global.pos}
//loop

  >
     {

    sliderArr.map(item =>

      <View key={item.img} style={{justifyContent:'center',height: 200,backgroundColor:'black' }}>

//resizeMode={'stretch'}
source={item.img }>


)
}


Steps to reproduce

1.
2.
3.

Most helpful comment

Change the 'style' prop to 'containerStyle' and reload.

All 10 comments

I have the same error

+1

Change the 'style' prop to 'containerStyle' and reload.

I had the same problem here, changing 'style' to 'containerStyle' solved my problem ! TKS!

I still have the same error when i change the style prop to containerStyle.
I am using Expo. It works on the expo app but not on the standalone app.

Android works ok,but It's not working on ios

@irodeanu Thankyou

react-native-swiper 1.6 working fine on android but not on ios. On ios previous button is not working and also index number is causing problems. I don't know what's the problem with this package because 1.5 version works fine on ios but not on android and now latest version works fine on android but not on ios.

i don't know how you guys managing this package. Without testing why you uploaded new versions. So many issues with this package. 1.5 works on ios not on android and now latest version works fine on android without any issues but not on ios. This package is not stable.

containerStyle ..its working for me

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nomoreboredom picture nomoreboredom  Â·  3Comments

agzuniverse picture agzuniverse  Â·  3Comments

Liqiankun picture Liqiankun  Â·  3Comments

hadrienbbt picture hadrienbbt  Â·  3Comments

nicolabortignon picture nicolabortignon  Â·  3Comments