Skip to content

Commit

Permalink
Merge pull request #114 from kakha13/patch-1
Browse files Browse the repository at this point in the history
Fix iOS marker Tap function issue:#102
  • Loading branch information
farfromrefug authored Sep 21, 2024
2 parents 6e61158 + 786c92a commit 79e525f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ui-mapbox/index.ios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1921,8 +1921,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
for (let i = 0; i < theMap.gestureRecognizers.count; i++) {
const recognizer = theMap.gestureRecognizers.objectAtIndex(i);
if (recognizer instanceof UITapGestureRecognizer) {
recognizer.addTargetAction(theMap['mapTapHandler'], 'tap');
break;
tapGestureRecognizer.requireGestureRecognizerToFail(recognizer);
}
}

Expand Down

0 comments on commit 79e525f

Please sign in to comment.