-
Notifications
You must be signed in to change notification settings - Fork 644
Closed
Description
Code:
'use strict';
import React, { Component } from 'react';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view';
import {
ScrollView,
View,
StyleSheet,
TextInput,
} from 'react-native';
export default class AppSuperMuffato extends Component {
constructor(props) {
super(props);
}
render() {
return(
<KeyboardAwareScrollView keyboardDismissMode="on-drag" showsVerticalScrollIndicator={false} enableResetScrollToCoords={true} extraHeight={0} ref='scroll'>
<View>
<TextInput defaultValue="Test 1" style={styles.textInput}/>
<TextInput defaultValue="Test 2" style={styles.textInput}/>
<TextInput defaultValue="Test 3" style={styles.textInput}/>
<TextInput defaultValue="Test 4" style={styles.textInput}/>
<TextInput defaultValue="Test 5" style={styles.textInput}/>
<TextInput defaultValue="Test 6" style={styles.textInput}/>
<TextInput defaultValue="Test 7" style={styles.textInput}/>
<TextInput defaultValue="Test 8" style={styles.textInput}/>
<TextInput defaultValue="Test 9" style={styles.textInput}/>
<TextInput defaultValue="Test 10" style={styles.textInput}/>
<TextInput defaultValue="Test 11" style={styles.textInput}/>
<TextInput defaultValue="Test 12" style={styles.textInput}/>
<TextInput defaultValue="Test 13" style={styles.textInput}/>
<TextInput defaultValue="Test 14" style={styles.textInput}/>
</View>
</KeyboardAwareScrollView>
);
}
};
const styles = StyleSheet.create({
wrapperInner: {
backgroundColor: '#fff'
},
container: {
paddingTop: 60,
paddingLeft: 10,
paddingRight: 10,
backgroundColor: '#fff',
},
title: {
color: '#000',
marginBottom: 10,
fontSize: 16,
fontWeight: 'bold',
},
formGroup: {
marginBottom: 10,
},
textInput: {
borderWidth: 1,
height: 48,
marginBottom: 50,
}
});
FlaviooLima
Metadata
Metadata
Assignees
Labels
No labels
