Skip to content

Commit 970aece

Browse files
committed
feat: implement #27
1 parent 73fd0f7 commit 970aece

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/ui-mapbox/index.ios.ts

-8
Original file line numberDiff line numberDiff line change
@@ -2221,14 +2221,6 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
22212221
theMap['mapTapHandler'] = MapTapHandlerImpl.initWithOwnerAndListenerForMap(new WeakRef(this), listener, theMap);
22222222
const tapGestureRecognizer = UITapGestureRecognizer.alloc().initWithTargetAction(theMap['mapTapHandler'], 'tap');
22232223

2224-
// cancel the default tap handler
2225-
for (let i = 0; i < theMap.gestureRecognizers.count; i++) {
2226-
const recognizer: UIGestureRecognizer = theMap.gestureRecognizers.objectAtIndex(i);
2227-
if (recognizer instanceof UITapGestureRecognizer) {
2228-
tapGestureRecognizer.requireGestureRecognizerToFail(recognizer);
2229-
}
2230-
}
2231-
22322224
theMap.addGestureRecognizer(tapGestureRecognizer);
22332225

22342226
resolve();

0 commit comments

Comments
 (0)