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