
I have placed Swiper on the Home Screen. When I come back to the Home screen from any other screen. This Swiper gets paused for 2-3 second as shown in the image.
<Swiper
style={{height:150}}
autoplayTimeout={5}
autoplay={true}
showsButtons={false}
showsPagination={false}
scrollEnabled={false}
loop={true}
>
{
data.map((img, i) => {
return(
<TouchableOpacity key={Img_${id + i}} style={{justifyContent: 'center', flex: 1}}>
<ImageBackground
resizeMode="contain"
source={{
uri: img,
}}
style={{ width: '100%', height: 150 }}>
</ImageBackground>
</TouchableOpacity>
)
})
}
</Swiper>
Is there any way to refresh the swiper when comes back to Home screen?
This is also happening to me aswell some times.
the same issue
This is also happening to me on iOS锛宎ndroid is working well.
just change removeClippedSubviews
<Swiper removeClippedSubviews={false} />