Horizonal={false} doesn't work
See original GitHub issueWhich OS
Win 7 x64
Version
Which versions are you using:
- react-native-swiper v1.5.12
- react-native v0.54.0
Expected behaviour
Vertical swiper
Actual behaviour
Horizonal default swiper, with vertical buttons
Steps to reproduce
I’ve just installed RN and react-native-swiper. This is the code of the component
import React from 'react'
import {
Text,
View,
ImageBackground
} from 'react-native'
import Swiper from 'react-native-swiper'
var styles = {
wrapper: {
},
slide1: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
},
slide2: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#97CAE5'
},
slide3: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#92BBD9'
},
text: {
color: '#fff',
fontSize: 30,
fontWeight: 'bold'
}
}
export default () => <Swiper style={styles.wrapper}
horizontal={false} nextButton={<Text> next </Text>} prevButton={<Text> prev </Text>}>
<View style={styles.slide1}>
<ImageBackground
source={require('./../img/slide-home1.jpg')}
style={{ flex: 1,width: '100%', height: '100%'}}>
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text>Your Contents</Text>
</View>
</ImageBackground >
</View>
<View style={styles.slide2}>
<Text style={styles.text}>Beautiful</Text>
</View>
<View style={styles.slide3}>
<Text style={styles.text}>And simple</Text>
</View>
</Swiper>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12
Top Results From Across the Web
Accessing the Horizon View Administrator page displays a ...
The admin sees a error message "Login Failed" when logging in over the console. Access to Virtual Desktops over html5 works. Purpose ...
Read more >VMware Horizon - Failed To Connect To The Connection Server
The fix involved adding in a checkOrigin=false line into the file and restarting the server. This fixed it almost every time until last...
Read more >Failed Jobs is loading forever with error "t.includes is not a ...
When trying to load the Failed Jobs in the browser console I'm getting the ... but it seems sometimes horizon terminate just doesn't...
Read more >VMware Horizon 8 Console Configuration - Carl Stalhood
In Horizon 2111 (8.4), https://localhost/admin doesn't seem to work. If you don't use one of these URLs then you'll see a Login Failed...
Read more >Tips for Combating Plaintiff's Deposition Tricks #9: The False ...
After all, the jury doesn't know any better, and will typically assume that the question being posed is fair, complete, and accurate. False...
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
可以说中文吗
can say chinese?