Skip to content

Commit

Permalink
UserCurrentLocationButton onPress fix
Browse files Browse the repository at this point in the history
  • Loading branch information
graylewis committed Oct 11, 2023
1 parent c313a62 commit 9f89031
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 9f89031

Please sign in to comment.