Dropdown menu improvements

This commit is contained in:
Eric Bailey
2024-08-07 11:45:54 -05:00
parent 9f04504e11
commit d7ea522301
6 changed files with 55 additions and 22 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ export function Item({children, label, style, onPress, ...rest}: ItemProps) {
t.atoms.border_contrast_low,
{minHeight: 44, paddingVertical: 10},
style,
(focused || pressed) && [t.atoms.bg_contrast_50],
(focused || pressed) && !rest.disabled && [t.atoms.bg_contrast_50],
]}>
{children}
</Pressable>