leecade / leecade/react-native-swiper
swiper image not showing
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
Swiper image not showing, only can see the dot changing the position. Saw this https://github.com/leecade/react-native-swiper/issues/416 but i added removeClippedSubviews={false} also have same issue. Every time i have to delete <swiper/> and save and reload and paste back it only show up. I try to export as apk also have same issue. Any idea to fix this ?
<View style={styles.container}>
<ScrollView>
<Swiper height={Dimensions.get('window').width / 1.3} showsButtons={false} removeClippedSubviews={false} autoplay={true} autoplayTimeout={3} autoplayDirection={true}
dot={<Swiperdot/>} activeDot={<Swiperactivedot/>} paginationStyle={{bottom: 10}}>
<SwiperImgItem pathuri={this.state.path1}/>
<SwiperImgItem pathuri={this.state.path2}/>
<SwiperImgItem pathuri={this.state.path3}/>
</Swiper>
</ScrollView>
</View>
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor:'#000000'
},
});
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 shown usage inside with the custom children, comparing hot-reload behavior with the exported APK. Check the supplied path1, path2, and path3 values and the removeClippedSubviews setting; done means the images render reliably without deleting and re-adding .
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100