diff options
Diffstat (limited to 'src/view/com/composer/text-input/TextInput.tsx')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 668b148a4..877945b96 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -3,6 +3,7 @@ import { NativeSyntheticEvent, StyleSheet, TextInputSelectionChangeEventData, + View, } from 'react-native' import PasteInput, { PastedFile, @@ -185,7 +186,7 @@ export const TextInput = React.forwardRef( }, [text, pal.link, pal.text]) return ( - <> + <View style={styles.container}> <PasteInput testID="composerTextInput" ref={textInput} @@ -202,15 +203,20 @@ export const TextInput = React.forwardRef( view={autocompleteView} onSelect={onSelectAutocompleteItem} /> - </> + </View> ) }, ) const styles = StyleSheet.create({ + container: { + width: '100%', + }, textInput: { flex: 1, + minHeight: 80, padding: 5, + paddingBottom: 20, marginLeft: 8, alignSelf: 'flex-start', }, |