diff options
Diffstat (limited to 'src/view/com/composer/text-input')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 6 | ||||
-rw-r--r-- | src/view/com/composer/text-input/mobile/Autocomplete.tsx | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 55fd3650f..6f5e812ed 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -249,9 +249,11 @@ export const TextInput = forwardRef(function TextInputImpl( multiline scrollEnabled={false} numberOfLines={2} + {...props} style={[ inputTextStyle, a.w_full, + !autocompletePrefix && a.h_full, { textAlignVertical: 'top', minHeight: 60, @@ -261,8 +263,8 @@ export const TextInput = forwardRef(function TextInputImpl( borderWidth: 1, borderColor: 'transparent', }, - ]} - {...props}> + props.style, + ]}> {textDecorated} </PasteInput> <Autocomplete diff --git a/src/view/com/composer/text-input/mobile/Autocomplete.tsx b/src/view/com/composer/text-input/mobile/Autocomplete.tsx index 0fda6843b..5e91ef149 100644 --- a/src/view/com/composer/text-input/mobile/Autocomplete.tsx +++ b/src/view/com/composer/text-input/mobile/Autocomplete.tsx @@ -49,7 +49,7 @@ export function Autocomplete({ a.px_sm, a.py_md, ]} - key={item.handle}> + key={item.did}> <PressableScale testID="autocompleteButton" style={[ |