diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-24 21:11:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 12:11:13 -0700 |
commit | dba6f4bb1fd4800f2c0309433bfbb9846e58acc8 (patch) | |
tree | 40ae1a08f018b06bf4dac74af3e8d1b5ffe57062 /src/view/com/composer/text-input | |
parent | 6a5770ee8919cda072504da4742ccabc7c3d1562 (diff) | |
download | voidsky-dba6f4bb1fd4800f2c0309433bfbb9846e58acc8.tar.zst |
This reverts commit 0014b8b9cd0a5858ea7fad31361e5b611296e912.
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={[ |