diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-25 08:07:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-25 08:07:45 -0800 |
commit | e40656128d2fad41762ec1e7f022bc10fcdd25fc (patch) | |
tree | 7eb120c585a06396fb455672799519270d5ee113 /src/view/com/composer/text-input | |
parent | d76cd88d917d39db4d5d66f4a0852502034c448a (diff) | |
download | voidsky-e40656128d2fad41762ec1e7f022bc10fcdd25fc.tar.zst |
* 6861: Use available space to make focus on Composer TextInput easier * Undo web * bluesky-social#6861: Adjust focus area for native platforms taking Embeds into consideration * use atoms * remove empty div * remove debug atom, whoopsie --------- Co-authored-by: GrizliK1988 <dgrachikov@gmail.com> Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/view/com/composer/text-input')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 6 |
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..22d1f1d08 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, + 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 |