diff options
author | khuddite <62555977+khuddite@users.noreply.github.com> | 2024-11-08 19:10:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-09 00:10:04 +0000 |
commit | a6d009d06bb0d1b2fbb70948a6aba6a0faada415 (patch) | |
tree | 9be813d36f48951815743233a938313b708021cc /src/view/com/composer/text-input | |
parent | a90830881014203ee0329b7aee89f4254cbdef4f (diff) | |
download | voidsky-a6d009d06bb0d1b2fbb70948a6aba6a0faada415.tar.zst |
set includeFontPadding false for fixed TextInput height on Android (#6170)
Diffstat (limited to 'src/view/com/composer/text-input')
-rw-r--r-- | src/view/com/composer/text-input/TextInput.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx index 42d9bfc54..10cf1a931 100644 --- a/src/view/com/composer/text-input/TextInput.tsx +++ b/src/view/com/composer/text-input/TextInput.tsx @@ -252,7 +252,11 @@ export const TextInput = forwardRef(function TextInputImpl( style={[ inputTextStyle, a.w_full, - {textAlignVertical: 'top', minHeight: 60}, + { + textAlignVertical: 'top', + minHeight: 60, + includeFontPadding: false, + }, ]} {...props}> {textDecorated} |