leecade / leecade/react-native-swiper
Swiper paused for 2-3 second.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description

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 }}>
)
})
}
`
Is there any way to refresh the swiper when comes back to Home screen?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the provided usage on the Home screen and reproduce the behavior by navigating away and back. Trace the Swiper lifecycle during that navigation; done means the carousel resumes without the reported 2–3 second pause when returning to Home.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 39/100