Skip to content

Commit

Permalink
Merge pull request #37470 from aswin-s/fix/issue-36508
Browse files Browse the repository at this point in the history
fix: prevent tab switch while swiping horizontally on map
  • Loading branch information
Hayata Suenaga committed Mar 20, 2024
2 parents d3ba7d3 + a567163 commit 34d20cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
8 changes: 0 additions & 8 deletions src/components/MapView/responder/index.android.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/components/SwipeInterceptPanResponder.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {PanResponder} from 'react-native';

const SwipeInterceptPanResponder = PanResponder.create({
onStartShouldSetPanResponder: () => true,
onMoveShouldSetPanResponder: () => true,
onPanResponderTerminationRequest: () => false,
});
Expand Down

0 comments on commit 34d20cc

Please sign in to comment.