-
-
Save spencercarli/8acb7208090f759b0fc2fda3394796f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import { View, TextInput, Image } from 'react-native'; | |
import styles from './styles'; | |
import logo from './logo.png'; | |
const Demo = () => { | |
return ( | |
<View style={styles.container}> | |
<Image source={logo} style={styles.logo} /> | |
<TextInput | |
placeholder="Email" | |
style={styles.input} | |
/> | |
<TextInput | |
placeholder="Username" | |
style={styles.input} | |
/> | |
<TextInput | |
placeholder="Password" | |
style={styles.input} | |
/> | |
<TextInput | |
placeholder="Confirm Password" | |
style={styles.input} | |
/> | |
</View> | |
); | |
}; | |
export default Demo; |
I have an issue with keyboard-aware-scroll-view. I have lot of input boxes and one of the boxes has dropdown. But it hided dropdown behind the keyboard. I tried with margins and another values. But it not worked for me. Any solution for this.
Sorry to ask here. I have posted it in forums but there is no reply from any one.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/spencercarli/react-native-keyboard-avoidance-examples/blob/master/app/styles.js check here