diff --git a/app/containers/Routes.js b/app/containers/Routes.js index 4c8a82c17bf3b6d8b66ddf1ec18e7e46db308bd4..b62f1443a7e76d5f4199cf25370efecf594a6dc8 100644 --- a/app/containers/Routes.js +++ b/app/containers/Routes.js @@ -30,6 +30,12 @@ export default class Routes extends React.Component { return !this.props.app.ready && this.props.appInit(); } + componentDidMount() { + if (!this.props.app.starting) { + SplashScreen.hide(); + } + } + componentWillReceiveProps(nextProps) { if (!nextProps.app.starting && this.props.app.starting !== nextProps.app.starting) { SplashScreen.hide(); diff --git a/app/views/LoginView.js b/app/views/LoginView.js index f1f213ca8161e71da410306e51e78d658b8b279b..c3d8b4e714dbecdae3612213d675ab9ca210ba0f 100644 --- a/app/views/LoginView.js +++ b/app/views/LoginView.js @@ -88,7 +88,11 @@ class LoginView extends React.Component { contentContainerStyle={styles.container} keyboardVerticalOffset={128} > - <ScrollView style={styles.loginView}> + <ScrollView + style={styles.loginView} + keyboardDismissMode='interactive' + keyboardShouldPersistTaps='always' + > <SafeAreaView> <View style={styles.formContainer}> <TextInput