about summary refs log tree commit diff
path: root/src/view/com/composer/text-input/TextInput.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-03-24 21:11:13 +0200
committerGitHub <noreply@github.com>2025-03-24 12:11:13 -0700
commitdba6f4bb1fd4800f2c0309433bfbb9846e58acc8 (patch)
tree40ae1a08f018b06bf4dac74af3e8d1b5ffe57062 /src/view/com/composer/text-input/TextInput.tsx
parent6a5770ee8919cda072504da4742ccabc7c3d1562 (diff)
downloadvoidsky-dba6f4bb1fd4800f2c0309433bfbb9846e58acc8.tar.zst
Revert "Small revert to be on the safe side (#7932)" (#7958)
This reverts commit 0014b8b9cd0a5858ea7fad31361e5b611296e912.
Diffstat (limited to 'src/view/com/composer/text-input/TextInput.tsx')
-rw-r--r--src/view/com/composer/text-input/TextInput.tsx6
1 files changed, 4 insertions, 2 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