about summary refs log tree commit diff
path: root/src/view/com/util/forms/DropdownButton.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/util/forms/DropdownButton.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/util/forms/DropdownButton.tsx')
-rw-r--r--src/view/com/util/forms/DropdownButton.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/view/com/util/forms/DropdownButton.tsx b/src/view/com/util/forms/DropdownButton.tsx
index 064b8211b..c6e650077 100644
--- a/src/view/com/util/forms/DropdownButton.tsx
+++ b/src/view/com/util/forms/DropdownButton.tsx
@@ -344,9 +344,7 @@ const DropdownItems = ({
                     color={pal.text.color as string}
                   />
                 )}
-                <Text style={[styles.label, pal.text]} numberOfLines={1}>
-                  {item.label}
-                </Text>
+                <Text style={[styles.label, pal.text]}>{item.label}</Text>
               </TouchableOpacity>
             )
           } else if (isSep(item)) {