diff --git a/src/components/TextInput/Adornment/TextInputAffix.tsx b/src/components/TextInput/Adornment/TextInputAffix.tsx index 8688151ed8..fe6e3daa65 100644 --- a/src/components/TextInput/Adornment/TextInputAffix.tsx +++ b/src/components/TextInput/Adornment/TextInputAffix.tsx @@ -186,6 +186,7 @@ const TextInputAffix = ({ onPress={onPress} accessibilityRole="button" accessibilityLabel={accessibilityLabel} + style={styles.container} > {affix} diff --git a/src/components/__tests__/__snapshots__/TextInput.test.tsx.snap b/src/components/__tests__/__snapshots__/TextInput.test.tsx.snap index ca1eba8a82..17d37db5db 100644 --- a/src/components/__tests__/__snapshots__/TextInput.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/TextInput.test.tsx.snap @@ -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", + } + } >