Skip to content
Advertisement

Detect swipe left in React Native

How can I detect a left swipe on the entire screen in React Native?

Would it be necessary to use PanResponder or can it be done a little more easy?

Advertisement

Answer

There is an existing component react-native-swipe-gestures for handling swipe gestures in up, down, left and right direction, see https://github.com/glepur/react-native-swipe-gestures

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement