How to use a PanResponder to Detect Touch Inactivity in React Native

InstructorJason Brown

Share this video with your friends

Send Tweet

In this lesson we'll use PanResponder to create a component that tracks touch inactivity. We'll take advantage of the onMoveShouldSetPanResponderCapture function call of PanResponder to register touches when they happen but not steal touches from other elements.