leecade / leecade/react-native-swiper
Hi, I like your library ❤ , but I can’t get rid of those "jumps" when the application is initialized.
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Mac OS 10.14
- react-native-swiper v1.5.14
- react-native v0.57.8
Expected behaviour
There should be no "jumps" when rendering.
Actual behaviour
I can’t get rid of those "jumps" when the application is initialized
Create Simple component with 3 children.
<Swiper activeDotColor={colors.green} loop={false} removeClippedSubviews={false}>
<Com1 style={style} />
<Com2 style={style} />
<Com3 style={style} />
</Swiper>
style = {
alignItems : 'center',
flex : 1,
justifyContent: 'center',
}
I hope this help you. (here video)
https://fex.net/340252544258
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 by reproducing the initialization behavior with react-native-swiper v1.5.14, React Native 0.57.8, Mac OS 10.14, and the provided three-child Swiper example. Compare rendering with the shown props and styles; done means the initial render no longer visibly jumps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100