about summary refs log tree commit diff
path: root/src/view/com/util/forms/NativeDropdown.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-02-27 16:04:49 -0600
committerGitHub <noreply@github.com>2024-02-27 14:04:49 -0800
commit978bcc1ba9cb426c8da34a970a79a023936e3dbc (patch)
tree5023c6caf283e1255a7492947a437bd3795702b5 /src/view/com/util/forms/NativeDropdown.tsx
parent6717f8f11e69d12bcde3e5601ed02281b927c378 (diff)
downloadvoidsky-978bcc1ba9cb426c8da34a970a79a023936e3dbc.tar.zst
Tags menu/muted words improvements (#3002)
* Fix translations

* Handle loooong words

* Truncate on desktop web, revert mobile changes

* Break the words

* Small enough for mobile web

* Fix alignment on mobile web

* Clarify
Diffstat (limited to 'src/view/com/util/forms/NativeDropdown.tsx')
-rw-r--r--src/view/com/util/forms/NativeDropdown.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/com/util/forms/NativeDropdown.tsx b/src/view/com/util/forms/NativeDropdown.tsx
index 082285064..0a47569f2 100644
--- a/src/view/com/util/forms/NativeDropdown.tsx
+++ b/src/view/com/util/forms/NativeDropdown.tsx
@@ -1,7 +1,7 @@
 import React from 'react'
 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
 import * as DropdownMenu from 'zeego/dropdown-menu'
-import {Pressable, StyleSheet, Platform, View} from 'react-native'
+import {Pressable, StyleSheet, Platform, View, ViewStyle} from 'react-native'
 import {IconProp} from '@fortawesome/fontawesome-svg-core'
 import {MenuItemCommonProps} from 'zeego/lib/typescript/menu'
 import {usePalette} from 'lib/hooks/usePalette'
@@ -151,6 +151,7 @@ type Props = {
   testID?: string
   accessibilityLabel?: string
   accessibilityHint?: string
+  triggerStyle?: ViewStyle
 }
 
 /* The `NativeDropdown` function uses native iOS and Android dropdown menus.