Skip to content

Commit

Permalink
fix: correct affix pressable container styles (#4274)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak authored Jan 12, 2024
1 parent 8e5d12d commit b7a88e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TextInput/Adornment/TextInputAffix.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ const TextInputAffix = ({
onPress={onPress}
accessibilityRole="button"
accessibilityLabel={accessibilityLabel}
style={styles.container}
>
{affix}
</Pressable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,13 @@ exports[`call onPress when affix adornment pressed 1`] = `
onResponderTerminate={[Function]}
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={
{
"alignItems": "center",
"justifyContent": "center",
"position": "absolute",
}
}
>
<View
collapsable={false}
Expand Down

0 comments on commit b7a88e1

Please sign in to comment.