Skip to content

Commit

Permalink
Merge pull request #26840 from huzaifa-99/23804-fix-pay-trigger-on-enter
Browse files Browse the repository at this point in the history
Fix money request getting paid on selecting emoji with 'enter'
  • Loading branch information
luacmartins authored Sep 11, 2023
2 parents 1400608 + e18e8bb commit 876501b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/ButtonWithDropdownMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ function ButtonWithDropdownMenu(props) {
isLoading={props.isLoading}
shouldRemoveRightBorderRadius
style={[styles.flex1, styles.pr0]}
pressOnEnter
large={isButtonSizeLarge}
medium={!isButtonSizeLarge}
innerStyles={[innerStyleDropButton]}
Expand Down Expand Up @@ -144,7 +143,6 @@ function ButtonWithDropdownMenu(props) {
isLoading={props.isLoading}
text={selectedItem.text}
onPress={(event) => props.onPress(event, props.options[0].value)}
pressOnEnter
large={isButtonSizeLarge}
medium={!isButtonSizeLarge}
innerStyles={[innerStyleDropButton]}
Expand Down

0 comments on commit 876501b

Please sign in to comment.