Which versions are you using:
Swiper should show first item from the array
The active dot is at the first position but the image shown is from the last item of the array. On next swipe the first image gets rendered and active dot remains at the first position. On further swiping it works correct
Hello, can you solve it?
same issue in IOS.
same here, when the loop={true}
same issue in Android
I guess it show because of that ViewPagerAndroid setPage is asynchronous
I solved the issue isolating the Swiper in a class component and sending my information via props and applied a shouldComponentUpdate with this condition:
shouldComponentUpdate = nextProps => {
return btoa(nextProps) !== btoa(this.props)
}
ps.: If the props are too long it will always return true, so I converted it to base64 to compare the returned strings.
Any easy fix on this ?
I find this repo https://github.com/f111fei/react-native-banner-carousel works which save my life
Most helpful comment
same issue in Android