about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkhuddite <62555977+khuddite@users.noreply.github.com>2024-11-08 19:10:04 -0500
committerGitHub <noreply@github.com>2024-11-09 00:10:04 +0000
commita6d009d06bb0d1b2fbb70948a6aba6a0faada415 (patch)
tree9be813d36f48951815743233a938313b708021cc
parenta90830881014203ee0329b7aee89f4254cbdef4f (diff)
downloadvoidsky-a6d009d06bb0d1b2fbb70948a6aba6a0faada415.tar.zst
set includeFontPadding false for fixed TextInput height on Android (#6170)
-rw-r--r--src/view/com/composer/text-input/TextInput.tsx6
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}