diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-07 16:20:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-07 10:20:55 -0600 |
commit | f06a78017a92de96bb4df0812c5934023440df95 (patch) | |
tree | 4d17093b20bcd69651fb2b9b8f7f6599a7cf717f /src | |
parent | 27ae829698eed3d73faaba5d9144f06452d8ada2 (diff) | |
download | voidsky-f06a78017a92de96bb4df0812c5934023440df95.tar.zst |
fix autocomplete (#7930)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 2 | ||||
-rw-r--r-- | src/view/com/composer/text-input/mobile/Autocomplete.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 22d1f1d08..6f5e812ed 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -253,7 +253,7 @@ export const TextInput = forwardRef(function TextInputImpl( style={[ inputTextStyle, a.w_full, - a.h_full, + !autocompletePrefix && a.h_full, { textAlignVertical: 'top', minHeight: 60, 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={[ |