about summary refs log tree commit diff
path: root/src/view/com/composer/text-input/TextInput.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-06-28 13:38:21 -0500
committerGitHub <noreply@github.com>2023-06-28 13:38:21 -0500
commiteb05c4cd6fbbc3363c9618ab650db2965409beb5 (patch)
treea8677dc8875668553b7e6f9affcb8e34d92b0a75 /src/view/com/composer/text-input/TextInput.tsx
parentdf3589f207b54282b8345996aa1a90e8ab5d50b8 (diff)
downloadvoidsky-eb05c4cd6fbbc3363c9618ab650db2965409beb5.tar.zst
[APP-692] Accessibility font-scaling fixes (#922)
* Fix: enable font scaling in the composer text input

* Fix: cancel button in search no longer wraps

* Fix: report modals no longer clip off the bottom with scaled fonts

* Fix scrolling on android

* Allow wrapping in dropdown items until we can handle proper sizing
Diffstat (limited to 'src/view/com/composer/text-input/TextInput.tsx')
-rw-r--r--src/view/com/composer/text-input/TextInput.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/view/com/composer/text-input/TextInput.tsx b/src/view/com/composer/text-input/TextInput.tsx
index 7b09da93d..08da42abc 100644
--- a/src/view/com/composer/text-input/TextInput.tsx
+++ b/src/view/com/composer/text-input/TextInput.tsx
@@ -200,6 +200,7 @@ export const TextInput = forwardRef(
           placeholderTextColor={pal.colors.textLight}
           keyboardAppearance={theme.colorScheme}
           autoFocus={true}
+          allowFontScaling
           multiline
           style={[pal.text, styles.textInput, styles.textInputFormatting]}
           {...props}>