Skip to content

Commit

Permalink
Merge pull request #29366 from graylewis/UserCurrentLocationButton-on…
Browse files Browse the repository at this point in the history
…Click-fix

User current location button onClick fix
  • Loading branch information
johnmlee101 authored Oct 13, 2023
2 parents 2b4e1c6 + 6ea1a12 commit 749f17f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/UserCurrentLocationButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ function UserCurrentLocationButton({onLocationFetched, onLocationError, onClick,
onPress={getUserLocation}
accessibilityLabel={translate('location.useCurrent')}
disabled={isDisabled}
onMouseDown={(e) => e.preventDefault()}
onTouchStart={(e) => e.preventDefault()}
>
<Icon
src={Expensicons.Location}
Expand Down

0 comments on commit 749f17f

Please sign in to comment.