LoginSign Up

How to Detect Touch Inactivity with a PanResponder in React Native

In this lesson we'll use the onMoveShouldSetPanResponderCapture from PanResponder to register touches with out stealing touches from other PanResponders. We can detect use this method to detect inactivity. This technique can be used for things like video players with auto-hiding controls.

Get the Code

Liked this content?

Get notified more about React Native!

No Spam! We Promise!