Skip to content

Commit

Permalink
Reduce "Cancel" tappable area
Browse files Browse the repository at this point in the history
The tappable area was overlapping the X
  • Loading branch information
Jon-edge committed Dec 11, 2024
1 parent 683e325 commit 7dd4a5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/themed/SimpleTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,13 +252,13 @@ export const SimpleTextInput = React.forwardRef<SimpleTextInputRef, SimpleTextIn
</InputContainerView>
</EdgeTouchableWithoutFeedback>
{isIos && (isFocused || active === true) && (
<TouchContainer hitSlop={theme.rem(0.75)} accessible onPress={handleDonePress} testID={`${testID}.cancelButton`}>
<TouchableOpacity accessible onPress={handleDonePress} testID={`${testID}.cancelButton`}>
<CancelButton>
<CancelText numberOfLines={1} ellipsizeMode="clip">
{lstrings.string_cancel_cap}
</CancelText>
</CancelButton>
</TouchContainer>
</TouchableOpacity>
)}
</ContainerView>
)
Expand Down

0 comments on commit 7dd4a5d

Please sign in to comment.