React-native-swiper overlaying images from sides, Looks dirty
See original GitHub issueI am using react-native-swiper library in react-native-snap-carousel, but native-swiper showing me overlaying image from side, and looks so bad, i have tried, but unable to do.
see screenshot:
Here is the code:
SliderEntry.js
render() {
return (
<View style={styles.slideInnerContainer} >
<View>
<Swiper
width={300}
showsButtons
>
<View>
<Image
source={{ uri:
'http://primecourierservices.co.uk/wp-
content/uploads/2018/11/van-courier-
service-london-uk.jpg' }}
style={{width: 330, height: 250
}}
/>
</View>
<View>
<Image
source={{ uri:
'http://primecourierservices.co.uk/wp-
content/uploads/2018/11/van-courier-
service-london-uk.jpg' }}
style={{width: 330, height: 250
}}
/>
</View>
<View>
<Image
source={{ uri:
'http://primecourierservices.co.uk/wp-
content/uploads/2018/11/van-courier-
service-london-uk.jpg' }}
style={{width: 330, height: 250
}}
/>
</View>
</Swiper>
</View>
<View>
<Text style={{marginBottom: 10}}>{uppercaseTitle}</Text>
<View style={{marginLeft: 19, marginTop: 5, marginBottom: 6}}>
<Text>
{van}
</Text>
</View>
</View>
</View>
);
}
Can anyone help me with this? Please
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
React-Native-Swiper images Overflow ONLY ON ANDROID
I have a problem with react-native-swiper on Android ONLY. The same code works for iOS! Below is an image of what is happening:....
Read more >How to create a “Before & After” image slider with CSS and JS
A quick (but dirty) way to do it is to add another element, completely not related to the slider, but is positioned to...
Read more >Create advanced animations with smart animate
Smart animate looks for matching layers, recognizes differences, and animates layers ... This can cause layers to overlap, making the transition look messy....
Read more >swiper get index - You.com | The AI Search Engine You Control
Open side panel ... Looks like onSlideChangeStart: photosChange method isn't working. ... how to get list index using react-native-swiper-flatlist?
Read more >前端客栈/awesome-react-native - Gitee
react -native-snap-carousel ☆3959 - Swiper component for React Native with previews, multiple layouts, parallax images, performant handling of huge numbers ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
it seems your swiper width is less than the image width. 300 and 330.
but why?