Skip to content

Commit d77402f

Browse files
committed
Add comment on why the detector is disabled there
1 parent 52e0df3 commit d77402f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/gesture-handler/ScreenGestureDetector.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ import {
2424
} from './constraints';
2525
import { GestureProviderProps } from '../types';
2626

27+
// The detector is disabled to work around issue with pressables
28+
// losing focus. See https://github.com/software-mansion/react-native-screens/pull/2819
2729
const EmptyGestureHandler = Gesture.Fling().enabled(false);
2830

2931
const ScreenGestureDetector = ({

0 commit comments

Comments
 (0)