Which versions are you using:
swiping left & right should work
swiping is poosible only using buttons not by swapping left right
To help us, please fork this component, modify one example in examples folder to reproduce your issue and include link here.
-
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' }}>
source={item.img }>
)
}
1.
2.
3.
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
Most helpful comment
Change the 'style' prop to 'containerStyle' and reload.