mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
testing keyboard avoiding view
This commit is contained in:
parent
16c8b7dd71
commit
2548707fcb
@ -71,8 +71,9 @@ export function ConversationBody() {
|
||||
const noop = () => {};
|
||||
|
||||
return (
|
||||
<KeyboardAvoidingView style={styles.thread} behavior="padding"
|
||||
<KeyboardAvoidingView behavior="padding"
|
||||
enabled={Platform.OS === 'ios' ? true : false}>
|
||||
<View style={styles.thread}>
|
||||
<FlatList style={styles.conversation}
|
||||
contentContainerStyle={styles.topics}
|
||||
ref={ref}
|
||||
@ -128,6 +129,7 @@ export function ConversationBody() {
|
||||
</KeyboardAvoidingView>
|
||||
</Modal>
|
||||
|
||||
</View>
|
||||
</KeyboardAvoidingView>
|
||||
);
|
||||
}
|
||||
|
@ -52,7 +52,7 @@ export const styles = StyleSheet.create({
|
||||
paddingLeft: 8,
|
||||
},
|
||||
thread: {
|
||||
flex: 1,
|
||||
height: '100%',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user